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.
Unfortunately, activation email could not send to your email. Please try again.

Why background color of the first row in GridDataControl is white

Thread ID:

Created:

Updated:

Platform:

Replies:

91064 Nov 2,2009 10:52 PM Sep 5,2013 11:42 PM WPF 5
loading
Tags: GridControl
peifeng.xiang
Asked On November 2, 2009 10:52 PM

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 12:09 AM

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 12:13 AM

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 09:20 AM

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 03:32 AM

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 5, 2013 11:42 PM

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.

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.

;