Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
12619 | Apr 5,2004 11:09 AM UTC | Apr 6,2004 12:12 PM UTC | WinForms | 3 |
![]() |
Tags: GridControl |
gridAlarmDetails.Model.ColStyles[ColName].CellType = "CheckBox";
gridAlarmDetails.Model.ColStyles[ColName].CellValueType = typeof(bool);
gridAlarmDetails.Model.ColStyles[ColName].CellValue = false;
Instead of this try setting the properties by accessing the styleinfo properties through binder and set the checkboxoptions property to see if that helps.
gridAlarmDetails.Binder.InternalColumns[Index].CheckBoxOptions = new Syncfusion.Windows.Forms.Grid.GridCheckBoxCellInfo(true.ToString(), false.ToString(), "", true);
Also what version of the grid are you using?
Regards,
Jay N
>gridAlarmDetails.Model.ColStyles[ColName].CellType = "CheckBox";
>gridAlarmDetails.Model.ColStyles[ColName].CellValueType = typeof(bool);
>gridAlarmDetails.Model.ColStyles[ColName].CellValue = false;
>
>
>Instead of this try setting the properties by accessing the styleinfo properties through binder and set the checkboxoptions property to see if that helps.
>
>gridAlarmDetails.Binder.InternalColumns[Index].CheckBoxOptions = new Syncfusion.Windows.Forms.Grid.GridCheckBoxCellInfo(true.ToString(), false.ToString(), "", true);
>
>
>Also what version of the grid are you using?
>
>Regards,
>Jay N This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.