We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Why background color of the first row in GridDataControl is white

Thread ID:

Created:

Updated:

Platform:

Replies:

91064 Nov 3,2009 03:52 AM UTC Sep 6,2013 03:42 AM UTC WPF 5
loading
Tags: GridControl
peifeng.xiang
Asked On November 3, 2009 03:52 AM UTC

I set the RowBackground and AlternatingRowBackground properties. But they two do not apply to the first row.

Ganesan K [Syncfusion]
Replied On 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

peifeng.xiang
Replied On 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"
>

Ganesan K [Syncfusion]
Replied On 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

Clint David
Replied On 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

Thangapriya V [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;