We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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.
Live Chat Icon For mobile
Up arrow icon