Issue:
When using pager on a view with grouping filed enabled the view is split by the number of actual records rather than number of grouped records. This would make the pager to break the page in between the grouping filed values. Is there a way to break the page at the end of a grouping filed records rather than in the middle?
example
Group 1
- Item 1
- Item 2
- Item 3
- Item 4
Group 2
- Item 5
- Item 6
- Item 7
- Item 8
If we give the number of rows per page as 3 it breaks at item 3 and item 4 is displayed in the next page. and it would continue till Item6 and item 7 onwards would display in the next page.
Is there a way to break it at the end of a grouping field rather than in between them.
Thank you in advance.
Best Regards
Shameem
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedUnfortunately there is no way to do this. The pager has no idea, in advance, how the records will group.
Comment #2
Dane Powell CreditAttribution: Dane Powell commentedI've run into this issue as well, has anyone figured out a workaround?