jQWidgets Forums

jQuery UI Widgets Forums TreeGrid Nested grid inside a Tree grid

Tagged: 

This topic contains 3 replies, has 3 voices, and was last updated by  Peter Stoev 10 years, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Nested grid inside a Tree grid #61498

    Vani
    Participant

    Hi,
    Can we get a nested grid inside a tree grid? If yes please explain how to get it
    Thank you.

    Nested grid inside a Tree grid #61502

    Peter Stoev
    Keymaster

    Hi Vani,

    No, this is not possible and should not be. The TreeGrid by itself is Hierarchical Grid which displays hierarchies of data which makes the using of nested grids pointless. If you need Nested Grids, you can check DataTable or Grid widgets.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    Nested grid inside a Tree grid #62244

    AneVisser
    Participant

    How about the following scenario: we have a hierarchical structure of companies. Company A owns child-companies 1, 2, 3, and child-companies 1, 2, 3 each own grand-child companies 1a, 1b, 1c, 2a, 2b, 2c, 3a, 3b, 3c.
    Each of the companies, no matter what level, has employees. I would like to show in a treegrid something like the following:

    >A
    Ronald
    Nancy
    >1
    Neil
    John
    Anna
    >1a
    Albert
    Fred
    >1b
    Nicole
    Adrian
    Brian
    >1c
    Eric
    >2
    >2a
    >2b
    >2c
    >3
    >3a
    >3b
    >3c
    As you indicate, this is not possible in a treegrid. But I don’t see how this can be done in a Data table or a Grid either, as they don’t support hierarchical data. This is not a theoretical situation, I really do need to implement this. Could you please give me any advice how to approach this?

    Nested grid inside a Tree grid #62251

    Peter Stoev
    Keymaster

    Hi AneVisser,

    Nested Grids inside TreeGrid are not supported. The TreeGrid supports the features demonstrated on its Demo page. Your Data can be easily represented with hierarchical JSON – http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxtreegrid/javascript-tree-grid-binding-to-nested-json.htm?arctic. The DataTable supports Nested Grids and so do the Grid.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.