This is a migrated thread and some comments may be shown as answers.

Loading only grouping on initial load

1 Answer 59 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 06 Aug 2014, 08:49 PM
For my purposes, the typical case will be 100 to 10,000 rows of data in 1 to 16 groups.  What I would like to do is for the grid to first load the applicable groups, all collapsed, and then to begin loading the data for each of these groups in the background after the page has come up.  Is this possible with out-of-the-box functionality?

1 Answer, 1 is accepted

Sort by
0
Accepted
Nikolay Rusev
Telerik team
answered on 08 Aug 2014, 07:54 AM
Hello Mike,

This is not supported. DataSource will request pageSize items. Those items are the data items, not group items. That said if you have page size of 10 and those 10 items are split into 2 groups the Grid will actually show 12 rows.

There is no support for loading only group items and on-demand load of the data items.

Groups are rendered expanded by default. A way to avoid this is to handle dataBound event and collapse all group items.

Regards,
Nikolay Rusev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Mike
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or