jQWidgets Forums

jQuery UI Widgets Forums Grid Grid grouping subitems.length sort

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 5 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Grid grouping subitems.length sort #108249

    dan123
    Participant

    Hi I have this example created for jqxgrid groups where i created a group renderer to show the subitems length as counts. So i am tried to create a sort function so that i can look at the groups subitems length and sort the groups ascending/descending correctly. But i am not sure how to pass the groups subitems length to the sort. I would appreciate if there was a workaround that will be helpful.

    For example output:
    Groups with lengths will display as
    5
    6
    11
    12
    15
    18

    Here is my jsfiddle:
    http://jsfiddle.net/ze8a071d/3/

    Grid grouping subitems.length sort #108290

    Peter Stoev
    Keymaster

    Hi Dan,

    This cannot be achieved with our Grid API. The Data is grouped by ‘First Name’, groups are with custom rendering which renders the count, but still the data is bound to the ‘First Name’ column. It would not be possible to achieve this result. I am sorry.

    Regards,
    Peter

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

You must be logged in to reply to this topic.