New to Kendo UI for Vue? Start a free 30-day trial
Virtual Scrolling with Grouping
The Kendo UI for Vue Native Grid enables you to use virtualization with grouped data.
To enable grouping:
- Set the
groupableandgroupoptions of the Grid. - Set the
scrollableoption tovirtual. - Set the
all-grouped-itemsso that the scroll experience is as smooth as possible. - Set the
collapsed-groupsso that the collapsed groups are persisted correctly. - Set the
unique-fieldto the field that is unique for the items. - Handle the emitted
datastatechangeevent. Thedatastatechangeevent fires when the user interacts with the Grid by scrolling or changing its groups, then processes the data, and returns the requested page to the Grid. To implement the processing of the data programmatically, send a request to the server to execute the grouping for the current page on server-side, or use theprocessmethod of theDataQuerylibrary which automatically processes the data.
The Grid expects the grouped data to be a collection of GroupResults.
Change Theme
Theme
Loading ...