Here's a related question:
I have a TreeGrid bound to a data source with load on demand. Since the tree data all comes from the data source there is no Tree object defined on the TreeGrid, i.e.:
So here's my question: how do I set, for instance, isFolderProperty? If my TreeMenu had a defined 'data' property with a Tree, then I could do it easily by setting Tree.isFolderProperty. But what if I want to use one of the fields returned by the data source to set the value returned by isFolder()? How exactly would I do that?
Likewise, there are similar properties on the Tree object, such as nameProperty, openProperty, etc., that I would like to be able to set for a databound TreeGrid. So in general, how do I use these properties if I'm not explicitly defining a Tree?
I have a TreeGrid bound to a data source with load on demand. Since the tree data all comes from the data source there is no Tree object defined on the TreeGrid, i.e.:
Code:
isc.TreeMenu.create({
ID: "ControlPanelMenu",
menuID: 1,
width: "100%",
height: "100%",
dataSource: "menuItemsDS",
loadDataOnDemand: true,
autoFetchData: true
});
Likewise, there are similar properties on the Tree object, such as nameProperty, openProperty, etc., that I would like to be able to set for a databound TreeGrid. So in general, how do I use these properties if I'm not explicitly defining a Tree?
Comment