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

Visible rows collection

3 Answers 234 Views
GridView
This is a migrated thread and some comments may be shown as answers.
TSRG - IT
Top achievements
Rank 1
TSRG - IT asked on 06 Aug 2010, 07:03 AM
Hihi~ is it possible to get a collection of the current visible rows in the RadGridView? I would like to change some of the rows' and cells' visual properties.

Cheers,

Tim.

3 Answers, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 06 Aug 2010, 07:07 AM
Hi Tim,

You can use the approach demonstrated in this demo
 
Best wishes,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
StackOverflowed
Top achievements
Rank 1
answered on 11 Mar 2011, 05:36 PM
I'm not sure I understand how this demo shows you how to figure out with rows/cells are currently visible. I've tried using the ItemContainerGenerator and there is a private property named _startIndexForUIFromItem which looks like exactly what I'm looking for, but I don't see anything else other than that. Is there something I'm missing?
0
Maya
Telerik team
answered on 12 Mar 2011, 01:56 PM
Hi David,

Basically, the demo illustrates how to change a particular visual state of the cells or rows - in this case the enabled/ disabled state. I believe this was the request of Timothy. 
If you want to get the index of a visible item, you might take a look at this forum thread.  

Best wishes,
Maya
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
GridView
Asked by
TSRG - IT
Top achievements
Rank 1
Answers by
Vlad
Telerik team
StackOverflowed
Top achievements
Rank 1
Maya
Telerik team
Share this question
or