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

Changing Cell Style in DataBoundGrid

Thread ID:





107720 Mar 13,2013 10:25 AM UTC Mar 19,2013 06:16 AM UTC WinForms 1
Tags: GridControl
Asked On March 13, 2013 10:25 AM UTC

I want to change the style(like ChoiceList) of a cell in GridDataBoundGrid without using any event like queryCellInfo etc.

Please suggest me.

Thanks in advance.

Athiram S [Syncfusion]
Replied On March 19, 2013 06:16 AM UTC

Hi Pavan,

Thanks for your interest in Syncfusion Products.

You can make use of the following code to achieve the behaviour:

this.customerGrid1.Model[RowIndex, ColIndex].BackColor = Color.Red;

Please let me know if you have any concerns.

Athiram 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