Announcement

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

    Multicolumn TreeGrid implementation with json data

    Hi Isomorphic Team,
    We are using the ismorphic version : 6.1-p20170930
    my current functionality uses SmartGWT + Spring Rest services.
    We are using Google chrome browser latest version.

    I want to implement TreeGrid to display hierarchical data (Data looks similar to Windows file system structure. FolderA -> FolderB ->FolderC ->File.txt)
    In front of all the leaf nodes (.txt files ) i want to provide a user clickable icon (say favorite icon)

    I thought to implement my TreeGrid as multi column grid and add icon to one of the TreeGridField.
    But i could see all the multi column examples in showcase using DataSource.
    As stated above my functionality will get the tree data as json from a Rest service.

    Could you please provide any example of multiColumn TreeGrid without dataSource.?
    or suggest any other way to achieve the same?

    #2
    Hi,

    please see the showcase and search for "REST". Without having used it myself, I'd assume that TreeGrid + RestDataSource connecting to your service will solve this for you.

    Best regards
    Blama

    Comment


      #3
      You seem to think that multicolumn is in some way related to use of DataSources - it isn't. Please revisit the QuickStart Guide, Data Binding chapter. TreeGrid and other DataBoundComponents can be configured with multiple fields regardless of whether a DataSource is involved.

      Comment

      Working...
      X