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

Dynamic Cell Formatting - QueryCellStyleInfo

Thread ID:

Created:

Updated:

Platform:

Replies:

99163 May 3,2011 06:29 PM UTC May 5,2011 10:29 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Administrator [Syncfusion]
Asked On May 3, 2011 06:29 PM UTC

Only been using Syncfusion for a few days and still getting my feet wet.

Anyway, I am following the example in the User Guide for applying styles to specific cells based on the cell's value. The grid contains multiple columns that can contain a value of either 1, 2 or 3. Based on the value we want the cell color to reflect:

1 = Red
2 = Yellow
3 = Green

In the example in the User Guide it updates the BackColor property. I was using this and it worked well but I also wanted to center the text in the column and this is not an option - that I can find - so I decided to apply a CssClass. Is there a reason why the only options for Syncfusion.Windows.Forms.Grid.GridTextAlign are default, left and right? No center?

The problem I am having is if there is a value in the last column in the grid then the entire row - the TR element - is updated with the CssClass of the last cell in the Grid as well.

I am also using the Office 2007 Blue format.

I've attached a screenshot. Anyone else ever experience that?

Rob



Screenshot_94aa8a55.zip

Sridhar N [Syncfusion]
Replied On May 5, 2011 10:29 AM UTC

Hi Robert,

Thanks for using Syncfusion products.

We have provided response to your query in DirectTrac Incident 80006.

Could you please refer it and follow up in above incident.

Please let us know your concerns.

Regards,
Sridhar.N



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

;