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

[Solved] How to get visibile rows during row virtualization enabled ?

1 Answer 124 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kannan
Top achievements
Rank 1
Kannan asked on 08 Sep 2011, 10:23 AM
Hi,

I've enabled row virtualization in RadGridView.

So initially few rows are loaded and when the scroll bar is clicked, more rows are loaded.

I like to get the rows which is visible in the grid at a particular point of time. May I know how to get this ?

Thanks & Regards,
Kannan

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 08 Sep 2011, 11:37 AM
Hi Kannan,

You may use ChildrenOfType<T> extension method. For example:

var visibleRows = this.playersGrid.ChildrenOfType<GridViewRow>();

 

Regards,
Maya
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
GridView
Asked by
Kannan
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or