Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
145
Unable to change row cssclass
posted

Hi,

Since the upgrade to version 15.1.20151.2123 of the webdatagrid, i can't change the cssclass of a gridrecord.

I have a asp.net webform, in the prerender-method i change the cssclass of some rows using the following code:

GridRecord row = WebGrid.Rows[rowIndex];
if (row != null)
    row.CssClass = cssClass;

In the version 14.1.20141.2150 this worked perfect.

Is there a new method to change the cssclass or a workaround?

Thanks in advance

Rob

Parents
No Data
Reply
  • 25665
    Offline posted

    Hello Rob,

    Thank you for contacting Infragistics!

    How are you setting up the CSS class you are applying to the row? You may want to instead apply it to the cell instead of the row. Where in code are you applying this style?

Children