PDA

View Full Version : In Grouping how to implement Sorting within each group and expand only first group



agarapati
24 Sep 2015, 9:13 AM
https://fiddle.sencha.com/#fiddle/ue8

I have implemented Grouping for a grid. Above is the same fiddle code, how to implement Sorting within each group and expand only first group in above example

1. By Default only first Grouping should be in expanded remaining should be collapsed.(Group Text 1) - Present all groups are in collapsed mode

2. Need to sort the rows with each grouping as per "sort" field value as well as Grouping text should be also sorted.(Ex:- Group Text 4 we have three rows needed to be sorted based on sort field)

slemmon
7 Oct 2015, 11:39 AM
Below is an example of how you might expand the first group. Not sure I follow you on the sorting question. Looks like when I click on the grid header the sorting happens with each group as I'd expect.

v3d