Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    TreeGrid, loadDataOnDemand and isFolder

    I have a TreeGrid that loads its data on demand via a DataSource. The DataSourceField "isFolder" correctly controls whether a node is displayed as leaf or as a folder.

    How can I change the name of the field "isFolder" to something else? This thread here
    http://forums.smartclient.com/showthread.php?t=2630
    mentions "dataProperties" to change the field name, but I can't find a SmartGWT API to do that.

    #2
    dataProperties in SmartClient configures the auto-generated ResultTree that a databound TreeGrid creates. You would have to do this via JSNI for now until we have an equivalent to dataProperties in pure Java in SmartGWT.

    Comment

    Working...
    X