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

Virtual scrolling with grids inside tabstrip

2 Answers 160 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brian Roth
Top achievements
Rank 1
Brian Roth asked on 24 Jan 2013, 10:10 PM
I have a tabstrip set up with multiple grids on a page - one grid per tab.  For each grid i have virtual scrolling set up.  The grid on the first tab works properly, but if I go to any of the subsequent tabs the scroll handle is not present on the scrollbar.  If I edit a cell or sort or filter the grid, then the scroll handle shows up and all is good.  It's just in the initial view for grids that aren't on the initial active tab.  Any ideas if it's something I'm doing wrong or if it might be a bug with the code?

I'm using IE9 as my browser.  If you want a sample to duplicate it on, you could probably throw the virtualization grid demo into a tabstrip and should be able to see this behavior.

Thanks for your help!

Regards,
Brian

2 Answers, 1 is accepted

Sort by
0
Accepted
Rosen
Telerik team
answered on 28 Jan 2013, 02:13 PM
Hello Brian,

The behavior you are experiencing is caused by the fact that in order virtual scrollable to be correctly sized, the Grid widget should be visible. Thus, you should refresh the scrollable instance attached to the grids. Here is a small test page which demonstrates how to implement such approach.

Regards,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Brian Roth
Top achievements
Rank 1
answered on 28 Jan 2013, 07:57 PM
Got it.  Thanks, Rosen!

Brian
Tags
Grid
Asked by
Brian Roth
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Brian Roth
Top achievements
Rank 1
Share this question
or