I'm sharing a datasource between a grid and listview. Everything works great - except when the user groups in the grid - the listview is unable to deal with a datasource having groups. Sorting and filtering works great.
Would it be possible in the future to consider adding grouping to listviews where the listview code would use the same datasource functionality as found in the grid grouping functionality?
5 Answers, 1 is accepted
I'm using both mvc wrappers and the pure js versions depending on the need.
Yes - I have a datasource that is shared between a grid and a listview. You can see a screenshot of it here:
The 4th button on the right (looks like a rubik's cube above the grid size column) is used to toggle between grid view and list view.
Everything works great (filtering,sorting) works fine - except if I kick in grouping on the grid - and when grouping on the grid, the listview will error out due to the item template used.
I haven't looked at the Kendo source - but I imagine when grouping, data maybe be put in different sub arrays to reflect the proper data grouping (don't quote me on that :-)).
All I was getting at was that it would be nice if listviews could work with a datasource that has grouping in place - basically the same ideal as grids.
The ListView widget doesn't support grouping and when you group the DataSource it is not able to bind to the group items (which are formed).
Yes I know it doesn't work :-)
It would be a good new feature in the future - I can see many uses for grouped listviews... with group headers / footers for listiview cell groups...
You can submit this as a feature request on UserVoice, so that it is considered for implementation in a future release.