GDBG CheckBoxCell canceling space bar hit event

How can i cancel space bar hit event before CheckBox check in GridDataBoundGrid ?

1 Reply

JS Jeba S Syncfusion Team March 27, 2007 12:13 PM UTC

Hi David,

Please try handling CurrentCellKeyPress and check for the Space.

private void gridControl1_CurrentCellKeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar== ' ')
{
e.Handled = true;
}
}

Kindly let us know if this helps.

Best Regards,
Jeba.

Loader.
Up arrow icon