JJ
Jisha Joy
Syncfusion Team
September 17, 2010 08:37 AM UTC
Hi Radek,
You could achieve the desired behavior by handling the TableControlCurrentCellValidating event. See the code:
private void gridGroupingControl1_TableControlCurrentCellValidating(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCancelEventArgs e)
{
GridCurrentCell gc = this.gridGroupingControl1.TableControl.CurrentCell;
if (gc.Renderer.ControlText == "")
{
e.Inner.Cancel = true;
gc.ErrorMessage = "Null not allowed";
}
Regards,
Jisha