jQWidgets Forums

jQuery UI Widgets Forums Grid Expand subgroups

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 12 years, 5 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Expand subgroups #15888

    Hello!

    I need to expand groups and subgroups when the grid is refreshed. I did it getting the groups expanded status with the ‘getgroup’ method, and expand with the ‘expandgroup’ method. The problem is when I have to expand a subgroup. The sintaxe $(‘#grid’).jqxGrid(‘expandgroup’, 0); for example, expand the root group 0, but how can I expand the subgroup ‘x’ (level 1) inside the root group 0?

    Expand subgroups #15893

    Peter Stoev
    Keymaster

    Hi angelocavallet,

    If you want all groups to be expanded when the Grid is refreshed, you have 2 options:

    1. Set the jqxGrid’s “groupsexpandedbydefault” property to true, when you initialize the Grid.
    2. The second option is to call the “expandallgroups” method.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Expand subgroups #15901

    I want to expand just a specific subgroup after a root group was expanded.
    Is it possible?

    Expand subgroups #15906

    Peter Stoev
    Keymaster

    Hi angelocavallet,

    There is currently no API for that.

    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.