I am trying to use dataPath property to drive data on my listgrid and treegrid. Unfortunately, it works for listgrid but not for tree grid. I looked at the documentation and it said "all properties settable on ListGridField apply to TreeGridField as well. ". Could you please tell me whether this is a bug or if I am using this incorrectly?
Code:
isc.TreeGrid.create({
ID: "employeeTree",
width: 500,
height: 400,
dataSource: "employees",
autoFetchData:true,
nodeIcon:"icons/16/person.png",
folderIcon:"icons/16/person.png",
showOpenIcons:false,
showDropIcons:false,
closedIconSuffix:"",
fields: [
{name: "sob",dataPath:"Name"}
]
});
isc.ListGrid.create({
ID: "countryList",
width:500, height:224, alternateRecordStyles:true,
data: countryData,
fields:[
{name:"sob", dataPath:"continent"}
],
})
Comment