Hi Chuck,
The CurrentCellStartEditing event will be triggered before the current cell switches into editing mode. But in the case of Check celltype there is no editing mode which causes the event not to work with non text fields.
In order to cancel the checkbox and comboBox value, the RecordValueChanging event is a better choice. And the Nested table records can be canceled by checking the e.Record is a Parent table or child table record. Here is the code snippet
private void gridGroupingControl1_RecordValueChanging(object sender, Syncfusion.Grouping.RecordValueChangingEventArgs e)
{
if(e.Record == this.gridGroupingControl1.Table.CurrentRecord) // Checking e.Record is parent record
{
if(Convert.ToInt32(e.Record.GetValue("Integer")) < 10)
e.Cancel = true;
}
else if(e.Record == this.gridGroupingControl1.Table.RelatedTables["ParentToChild"].CurrentRecord) // Checking e.Record is child record
{
if(Convert.ToInt32(e.Record.GetValue("Integer1")) < 5)
e.Cancel = true;
}
}
Here is the Demo project
Best Regards,
Madhan.