This question is locked. New answers and comments are not allowed.
I need a Grid.Rows object in a method to change the back color on condition basis. How can get any such object?
ItemContainerGenerator.ContainerFromItem
will return null for some of the rows and will not work always4 Answers, 1 is accepted
0
Hello Sumati,
Plese have a look at this online example.
All the best,
Pavel Pavlov
the Telerik team
Plese have a look at this online example.
All the best,
Pavel Pavlov
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
Sumati
Top achievements
Rank 1
answered on 22 Jun 2010, 10:08 AM
I missed one point in my previous post.
I am making use of Telerik RadGridView, Silverlight 3.
Your example requires me to install a new version.
I am making use of Telerik RadGridView, Silverlight 3.
Your example requires me to install a new version.
0
Hello Sumati,
For your scenario I would recommend to use the RowStyleSelector property of RadGridView. It is designed to ease conditional formatting requirements as yours. I am afraid we do not have SL 3 online demo for it , so I will gladly provide assistance if needed.
Best wishes,
Pavel Pavlov
the Telerik team
For your scenario I would recommend to use the RowStyleSelector property of RadGridView. It is designed to ease conditional formatting requirements as yours. I am afraid we do not have SL 3 online demo for it , so I will gladly provide assistance if needed.
Best wishes,
Pavel Pavlov
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
Sumati
Top achievements
Rank 1
answered on 23 Jun 2010, 06:02 AM
Thanks for your help. Issue fixed. I applied:
for my grid in *.xaml file and containerItem will be not null if row exists
EnableRowVirtualization
="False" EnableColumnVirtualization="False"
for my grid in *.xaml file and containerItem will be not null if row exists