Hi,
Iam using Infragistics 13.1.
GridRecordItem must be used instead of UltraGridCell in 13.1.
Please let me know how to set Style for GridRecordItem.
Earlier code - UltraGridCell cellReadOnly = e.Row.Cells.FromKey(sReadOnly);
cellReadOnly.Style.HorizontalAlign = HorizontalAlign.Center;
Expecting your response asap. Its urgent.
Thanks in advance.
Hello Jeevitha,
You can use the following:
WebDataGrid1.Rows[5].Items[1].CssClass = "rowClass";
This will apply the class to the cell defined by the row with index of 5 and column with index of 1. Of course you can loop through all the cells on a given row or column and apply the class.
I hope this helps.
Hello,
I'm just following up to see if you need any further assistance with this issue. If so please let me know.