Hi,
Even after setting the default values it is giving same error. I did some analysus and founf out that ''Specified cast not valid'' error comes when we try to access some cell after draging some cell over it.
Now my problem is how to disable drag and drop for essential grid. I have the following code but it does not disable the draging.
// Disable Drag Drop
gridAlarmDetails.Model.Options.AllowDragSelectedCols = false;
gridAlarmDetails.Model.Options.AllowDragSelectedRows = false;
gridAlarmDetails.Model.Options.DragDropDropTargetFlags = 0;
gridAlarmDetails.Model.Options.DragSelectedCellsMouseButtonsMask = System.Windows.Forms.MouseButtons.None;
In my grid i have some static field, checkboxes etc.
Please refer to attached file for more details.
Regards,
Rajiv
AlarmsManagerUI_5838.zip