@@ -43,19 +43,27 @@ class Example extends React.Component {
43
43
filter : true ,
44
44
sort : false
45
45
}
46
- }
46
+ } ,
47
+ {
48
+ name : "phone.home" ,
49
+ label : "Home Phone" ,
50
+ } ,
51
+ {
52
+ name : "phone.fake" ,
53
+ label : "Not a Phone #" ,
54
+ } ,
55
+ {
56
+ name : "phone2.home" ,
57
+ label : "Not An Attribute" ,
58
+ }
47
59
] ;
48
60
49
61
50
62
const data = [
51
- { name : "Gabby George" , title : "Business Analyst" , location : "Minneapolis" , age : 30 , salary : "$100,000" } ,
52
- { name : "Aiden Lloyd" , title : "Business Consultant" , location : "Dallas" , age : 55 , salary : "$200,000" } ,
53
- { name : "Jaden Collins" , title : "Attorney" , location : "Santa Ana" , age : 27 , salary : "$500,000" } ,
54
- { name : "Franky Rees" , title : "Business Analyst" , location : "St. Petersburg" , age : 22 , salary : "$50,000" }
55
- // ["Aaren Rose", "Business Consultant", "Toledo", 28, "$75,000"],
56
- // ["Blake Duncan", "Business Management Analyst", "San Diego", 65, "$94,000"],
57
- // ["Frankie Parry", "Agency Legal Counsel", "Jacksonville", 71, "$210,000"],
58
- // ["Lane Wilson", "Commercial Specialist", "Omaha", 19, "$65,000"]
63
+ { name : "Gabby George" , title : "Business Analyst" , location : "Minneapolis" , age : 30 , salary : "$100,000" , phone : { home : '867-5309' , cell : '123-4567' } } ,
64
+ { name : "Aiden Lloyd" , title : "Business Consultant" , location : "Dallas" , age : 55 , salary : "$200,000" , phone : { home : '867-5310' , cell : '123-4568' } } ,
65
+ { name : "Jaden Collins" , title : "Attorney" , location : "Santa Ana" , age : 27 , salary : "$500,000" , phone : { home : '867-5311' , cell : '123-4569' } } ,
66
+ { name : "Franky Rees" , title : "Business Analyst" , location : "St. Petersburg" , age : 22 , salary : "$50,000" , phone : { home : '867-5312' , cell : '123-4569' } }
59
67
] ;
60
68
61
69
const options = {
0 commit comments