Hi,
I am trying to set the grid style using following code:
gridAlarmDetails.Binder.InternalColumns[Index].StyleInfo.CellType = "CheckBox";
gridAlarmDetails.Binder.InternalColumns[Index].StyleInfo.CellValueType = typeof(bool);
gridAlarmDetails.Binder.InternalColumns[Index].StyleInfo.CellValue = false;
I gives a error, "index out of range".
I tried giving string (Column name) instead of Index, i do not give any error but changes are not reflected.
Same code is working fine in another Form. Only different between the two form is that in working form grid is directly added to Form while in non-working code grid is added in Tab-page which is added to form.
Thanks,
Supriya
Grid_1712.zip