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

kgrid Grouping expand / collapse bug with virtual scrolling

3 Answers 261 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 03 Sep 2015, 08:56 PM

Hi all,

 

I'd like a report a bug I seem to be experiencing with the kendo grid when grouping with virtual scrolling.

When collapsing/expanding groups with virtual scrolling enabled, the scroll height of the grid content does not get updated, and this unfolds into all sorts of weird side effects.

 

Does anyone know of a workaround?

 

-Michael

3 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 07 Sep 2015, 07:04 AM

Hello Michael,

 

The Grid will not resize itself when groups are collapsed, this is needed because the Grid uses a virtual scrollbar that needs to be calculated on the fly, therefore resizing when a group is collapsed is not handled, and Grid persists its height setting.

 

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Matt
Top achievements
Rank 1
answered on 19 Jul 2016, 07:44 PM
Is there a work around for this? Can you force a refresh? 
0
Kiril Nikolov
Telerik team
answered on 20 Jul 2016, 07:19 AM
Hello Matt,

There is no workaround for this as this is the intended behavior. You can try calling the refresh() method of the grid, however it will not work in all scenarios, and might cause some performance delays.

Regards,
Kiril Nikolov
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Grid
Asked by
Michael
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Matt
Top achievements
Rank 1
Share this question
or