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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

I require to change the background of the selected cell in the GridDataControl different from the given VisualStyle

Thread ID:





103724 May 28,2012 06:09 AM UTC Jun 27,2012 06:04 AM UTC WPF 3
Tags: GridControl
Asked On May 28, 2012 06:09 AM UTC

Hello Team,

I apologise if the similar question has been asked before, as due to urgency i haven't gone through the forums in detailed manner.

As the subject depicts, I am using GridDataControl in my application, to which i have set VisualStyle="DefaultOffice2007Silver" and ShowFilterBar="True".

Now when i click on cell in Grid control or in the filter bar, the selected cell shows the same blue colour as it is when i select a row. My requirement is to change the selected cell to some light visible colour (probably white) so the user can easily identify the cell selected, without changing the visual style.

Intially we were using the version 8.403 dll which had the same behaviour what i required but we have now upgraded to 10.104 dll's, and hence assuming the change in behaviour.

Request to kindly answer the query asap as it is bit urgent.




Rajasekar G [Syncfusion]
Replied On May 30, 2012 06:27 PM UTC

Hi Mansi,

Please find the requested sample in the below location,

Sample location: SyncGDC_94812.zip

Please let us know if you have any queries.


Replied On June 1, 2012 08:04 AM UTC

Hi Rajasekar,

Thanks for replying back.

In the example you have attached the cell definately gets highlighted on the grid when selected, but this doesn't happen in the FilterBar. The example i had attached before actually contains the screenshot of the filterbar and not the cell in the grid.

I want to highlight the selected cell in the filter bar as well, which i think i can't because the visual style is such.

Can i modify that as well...?

Thanks, Mansi

S. Kannan [Syncfusion]
Replied On June 27, 2012 06:04 AM UTC

Hi Mansi,


Apologies for the delay.


We have achieved your requirement by overriding the FilterBar Cell Renderer class and created a sample application and it can be downloaded from the below location.


Sample Location: SyncGDC_94812.zip



Note: - We will make this as default behavior in our upcoming Volume 3 release 10.3 and it is scheduled to release in the Mid of July 2012.


Please let us know if you have any queries.



Kannan. S



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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