Why background color of the first row in GridDataControl is white
I set the RowBackground and AlternatingRowBackground properties. But they two do not apply to the first row.
SIGN IN To post a reply.
5 Replies
GK
Ganesan K
Syncfusion Team
November 3, 2009 05:09 AM UTC
Hi Hyla,
Thanks for using Syncfusion products.
That empty first row of the grid is called NewRow. If you want to apply style to that row you have to use QueryBaseStyles.But, this needs to be done in the application level.
Alternatively, you can set the "ShowAddNewRow" property to false to disable that "NewRow".
Please let us know if you need any more details.
Thanks
Ganesan
Thanks for using Syncfusion products.
That empty first row of the grid is called NewRow. If you want to apply style to that row you have to use QueryBaseStyles.But, this needs to be done in the application level.
Alternatively, you can set the "ShowAddNewRow" property to false to disable that "NewRow".
Please let us know if you need any more details.
Thanks
Ganesan
PE
peifeng.xiang
November 3, 2009 05:13 AM UTC
Thank you for your quick reply.
I've already set ShowAddNewRow as False. The problem remains.
ShowAddNewRow="False"
ShowFilters="False"
AutoPopulateColumns="False"
AutoPopulateRelations="False"
ShowGroupDropArea="True"
AlternatingRowBackground="Chartreuse"
RowBackground="LightGray"
>
I've already set ShowAddNewRow as False. The problem remains.
ShowFilters="False"
AutoPopulateColumns="False"
AutoPopulateRelations="False"
ShowGroupDropArea="True"
AlternatingRowBackground="Chartreuse"
RowBackground="LightGray"
>
GK
Ganesan K
Syncfusion Team
November 4, 2009 02:20 PM UTC
Hi Hyla,
Thanks for your interest. This issue not occurring in our latest RC build published in the below forum :
http://www.syncfusion.com/support/forums/general/91019/essential-studio-2009-vol4-rc-v74015-available-for-download .
Download the workaround sample in the below location.
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=GDCRowBackground1409411122.zip
Find the Screen Shot for the output of the above sample in the below location.
http://www.syncfusion.com/uploads/redirect.aspx?file=RowBackground_3aff72e3.png&team=development
Please let us know if you need any more details.
Thanks
Ganesan
Thanks for your interest. This issue not occurring in our latest RC build published in the below forum :
http://www.syncfusion.com/support/forums/general/91019/essential-studio-2009-vol4-rc-v74015-available-for-download .
Download the workaround sample in the below location.
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=GDCRowBackground1409411122.zip
Find the Screen Shot for the output of the above sample in the below location.
http://www.syncfusion.com/uploads/redirect.aspx?file=RowBackground_3aff72e3.png&team=development
Please let us know if you need any more details.
Thanks
Ganesan
CD
Clint David
July 17, 2013 07:32 AM UTC
Hi,
I am using Syncfusion (v11.2) GridDataControl and also encounter the same problem. I have set the RowBackground and AlternatingRowBackground to a color other than "White" but the output is always White.
What I notice also is that there are very few times that the color Change but most of the time they are White.
Hoping for your response.
Regards,
Clint
Grid Data Control RowBackground_5f5e75a4.zip
TV
Thangapriya V
Syncfusion Team
September 6, 2013 03:42 AM UTC
Hi Clint,
We have tested the reported issue with our sample. But we are unable to reproduce the issue. RowBackground and AlternatingRowBackground colors are correctly set in GridDataControl.
For your reference, we have attached the sample. Please find it in the following location.
Please let us know if you have any queries.
Regards,
Thangapriya
GridDataControlSample1_bc170e99.zip
SIGN IN To post a reply.
- 5 Replies
- 4 Participants
-
PE peifeng.xiang
- Nov 3, 2009 03:52 AM UTC
- Sep 6, 2013 03:42 AM UTC