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

How to overwrite cssclass of column?

Thread ID:





89100 Aug 18,2009 09:32 AM UTC Aug 20,2009 01:15 PM UTC ASP.NET MVC (Classic) 1
Tags: Grid
Benno Eiwen
Asked On August 18, 2009 09:32 AM UTC


I have set AutoFormat to Office Silver but would like to overwrite a few cells. I tried this:

GridPropertiesModel gridModel = (GridPropertiesModel)this.ViewData["GridModel"];
gridModel.QueryCellInfo += (sender, args) =>
if (args.TableCellIdentity.TableCellType == GridTableCellType.RecordFieldCell || args.TableCellIdentity.TableCellType == GridTableCellType.AlternateRecordFieldCell)
if (args.TableCellIdentity.ColIndex == 1)
args.Style.CssClass = "RowHeader";
args.Handled = true;

Unfortunately the class is not set.

Kind regards

Balaji M [Syncfusion]
Replied On August 20, 2009 01:15 PM UTC

Hi Benno,

Thank you for your interest in Syncfusion products.

The issue "QueryCellInfo: set properties show no result" reported by you is suspected to be a defect. We have forwarded this to our Developement team for further analysis. We will update you with our Development team's reponse in two business days.

Please follow up the Direct-Trac incident#59250 for more further.

M. Balaji


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

This page will automatically be redirected to the 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