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
485
Problem while appling defferent css class for Header,OddRows and EvenRows
posted

Hi,

I have tried to apply different css classes for UltraWebGrid Header,OddRows and EvenRows.

Following is the code used :

UltraWebGrid1.DisplayLayout.HeaderStyleDefault.CssClass = "cssHeader";

UltraWebGrid1.DisplayLayout.RowStyleDefault.CssClass = "cssOddRow";

UltraWbGrid1.DisplayLayout.RowAlternateStyleDefault.CssClass = "cssEvenRow";

It works for header but for rows it takes by default "cssOddRow" class for all row.

If you comment the cssOddRow line then it takes cssHeader class for Header as well as OddRow.it works fine for even row in this case.

Any Idea ?

Thanks,

Raju

Parents Reply Children
No Data