Hello, i've a ultrawebgrid in asp.net with a DataSource = DataTable and i want to change de forecolor of the one column, How i do that ? Thanks!!
Hi gabrieler,
The styling for columns in UltraWebGrid is independent of the data source type. Each column in the grid has a CellStyle collection which you can use to set the fore/back colors for that column (among other options). Additionaly you can use Header.Style to style the header.
These styles may be set through the designer or alternatively in the code-behind, for instance:
UltraWebGrid1.Columns[0].CellStyle.BackColor = System.Drawing.Color.Red;UltraWebGrid1.Columns[0].Header.Style.BackColor = System.Drawing.Color.Red;
Please feel free to contact me if you have any quesitons.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support