Just a question, is there a way to subscribe a function when grouping is triggered. I have a grid that shows 25 rows per page. However when i group by a type, for i.e province. Ontario will be split across multiple pages inside the pager. The only fix i found for this problem is to set the page size to all before grouping is assigned. Is there a simpler way to do this rather than adding
dataView.setPagingOptions({pageSize: 0}); before every dataView.setGrouping({ ... });?
No, I think the way you have described is the best.
You can always declare your own function to do both the setPagingOptions and setGrouping, and just call that.
Just a question, is there a way to subscribe a function when grouping is triggered. I have a grid that shows 25 rows per page. However when i group by a type, for i.e province. Ontario will be split across multiple pages inside the pager. The only fix i found for this problem is to set the page size to all before grouping is assigned. Is there a simpler way to do this rather than adding
dataView.setPagingOptions({pageSize: 0}); before every dataView.setGrouping({ ... });?