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?
Hi all,
I have tested this scenario using UltraWebGrid version 11.1.20111.2020 but am so far unable to replicate the issues described. In order to investigate this further I would need a sample illustrating these behaviors.
Please note that the UltraWebGrid control is now outdated and as of .NetAdvantage 2011 Volume 2 is no longer included in our product package. I would suggest that you consider switching to the WebDataGrid/WebHieararchicalDataGrid. More information regarding these controls is available at:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=Web_WebDataGrid_WebDataGrid.html
Additional samples demonstrating the features of these grids can be found at:http://samples.infragistics.com/aspnet/
Do not hesitate to contact me if you have any questions.
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.
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