jQWidgets Forums

jQuery UI Widgets Forums Grid sort groups descending

This topic contains 5 replies, has 2 voices, and was last updated by  ivailo 9 years, 6 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • sort groups descending #77079

    fabbiob
    Participant

    hello and thanks in advice

    i’ve a working grid where i’ve applied a grouping operation.
    All is working fine except for the group order, i need to sort those groups descending

    i can’t find the right event to use for re-sorting the grid.

    Could someone help me ?

    regards
    fabio

    sort groups descending #77080

    ivailo
    Participant

    Hi fabio,

    In this demo group names are sorted descending.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    sort groups descending #77088

    fabbiob
    Participant

    thanks Ivalio

    in my scenario the grouping column will be choose by users, sorry i forgot to mention that in the original question.
    so i think i need an event to catch to apply the new order, is it right?
    if yes which event?

    fabio

    sort groups descending #77089

    ivailo
    Participant

    Hi fabio,

    In this scenario you need to use groupschanged event.
    Here is the demo.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    sort groups descending #77110

    fabbiob
    Participant

    thanks Ivalio your example worked like a charm.

    in a scenario where i have virtualmode on wwith server side paging and sorting active
    How can i achieve the same target?
    (i need to group just the displayed data)

    fabio

    sort groups descending #77130

    ivailo
    Participant

    Hi fabio,

    Unfortunately this scenario is not supported.
    You can see this similar topic.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.