I am using the UltraWebGrid (NetAdvantage for .Net 2009.1) and I use the RowStyleDefault and RowAlternateStyleDefault to attach a CSS class. The alternating rows have the proper styling displayed until I set the UseFixedHeaders to true. Once this is done, the fixed columns retain the proper styling but all of the scrolling columns loose the styles and revert back to a white background with black text.
uwgTestGrid.DisplayLayout.RowStyleDefault.CssClass = "gridRowEven";
uwgTestGrid.DisplayLayout.RowAlternateStyleDefault.CssClass = "gridRowOdd";
uwgTestGrid.DisplayLayout.UseFixedHeaders = true;
Does anyone know why this is happening?
I have this problem as well!
Also, when turning UseFixedHeaders on in addition to klunevich's problem it causes the following:
- last column is cut off- header cells and regular cells do not align
Hi I am also facing same almost same issue. I am applying css classes as shown below.
="listodd detailFont">
>
="listeven detailFont">
the probelm is RowStyleDefault is not getting applied. and the alternet style is getting applied. I am not understanding where the issues is? Can some please help on this. The help would be greatly appreciated.