Table in TreeView

Posted by: mrhangz on 8 September 2017, 1:13 pm EST

  • Posted 8 September 2017, 1:13 pm EST

    I want to create a spread that can group similar rows together with a '+' icon to expand it. I saw properties window in visual studio that looks most suitable. I want it to look like this example:

    +customers
    +employees
    +orders

    and if we click on the '+' it would be expand as a table

    +customers
    -employees
        |  Name A  |  Address A  |  Tel  |
        |  Name B  |  Address B  |  Tel  |
        |  Name C  |  Address C  |  Tel  |
    +orders

    Is it possible to do this in C#? I'm quite new to Farpoint.
    I have Spread .NET 2.5 which I think is too old and doesn't have GroupDataModel.
    Regards.
  • Replied 8 September 2017, 1:13 pm EST

    If you set up a DataSet with DataRelations then you can display a hierarchical view in the spread sheet that would give you the results you are wanting.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels