Hi,
I am working on a TreeGrid with nested structure. From the documentation for Data Binding to Nested JSON, I have included the code.
But my JSON has nested children, but with different structure.
`{
“ageOfEquip”:5,
“config2”:20,
“config3”:1,
“config4”:null,
“conifg1”:250,
“cssServiceId”:7,
“cssTravel”:{
“contingency”:2,
“costFactor”:50,
“cssTravelId”:1,
“destination”:”San Antonio”,
“driveMiles”:50,
“esc”:0.73,
“expAirfare”:800,
“expAirfareByMileage”:1,
“expBaggageFee”:75,
“expCarRental”:80,
“expGasRental”:50,
“expHotel1”:100,
“expMileage”:50,
“expMisc”:0,
“expParking”:25,
“expPerDiem”:60,
“factor”:null,
“hoursPerDay”:8,
“margin”:25,
“miscQty”:null,
“noDaysPerTrip”:1,
“noTechs”:1,
“noTrips”:2,
“parkingQty”:2,
“prdCogsRate”:63,
“prepTime”:8,
“rate”:null,
“reportTime”:8,
“source”:”Mason”,
“totalMiles”:800,
“travelTimeSite”:8,
“warranty”:0.4
},
“esc”:null,
“hoursPerDay”:10,
“margin”:25,
“noDaysPerTrip”:1,
“noOfAssets”:1,
“noTechs”:1,
“noTrips”:1,
“prepTime”:16,
“project”:{ },
“reportTime”:4,
“serviceDesc”:”Audits”,
“serviceName”:”Shoe sorter”,
“serviceNote”:”7″,
“warranty”:0.4
}`
I am able to render the parent tree, but not the child. Is it not possible in TreeGrid to render a different child?
If not, can I do it in a different widget?
Thanks