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

GridView Row Color problem after scroll

2 Answers 62 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Tik
Top achievements
Rank 1
Tik asked on 18 Jun 2010, 09:02 AM
Hello.
I have a GridView with 2 colors(white & gray) of rows based on a data value
but when the rows count increases, and I do scroll all rows become one and the same color(gray).
Help. what can I do?
Tahnks




2 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 18 Jun 2010, 10:34 AM
Hello Tik,

Most probably this is a result of the virtualization of the grid that is enabled by default. A possible solution in this case would be to stop it by means of the two properties of RadGridView:

<telerik:RadGridView Name="RadGridView1"                                           EnableColumnVirtualization="False"                         
    EnableRowVirtualization="False" >
        


However, in order to provide you with a more accurate solution, please give us more details about your scenario. Are you using IValueConverter Interface for setting the color of the rows based on a data value? It would be great if you could send us a sample project so that we could see your exact settings.

 

Greetings,
Maya
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
Tik
Top achievements
Rank 1
answered on 18 Jun 2010, 10:51 AM
Thanks a lot. I  added "EnableRowVirtualization="False", EnableColumnVirtualization="False"  and all OK.
Tags
GridView
Asked by
Tik
Top achievements
Rank 1
Answers by
Maya
Telerik team
Tik
Top achievements
Rank 1
Share this question
or