Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
162
Delete key not deleting row when there is an active cell
posted

Hi, i want to be able to delete the active row by pressing de delete key in the keyboard even if there is an active cell in the row (not in edit state). When you select the whole row by clicking on the row selector and then you press the delete key, the active row is deleted. But if you have an active cell and then you press the delete key nothing happens.

I've tried to add KeyActionMapping, but nothing again.

this.ultraGrid1.KeyActionMappings.Add(new GridKeyActionMapping(
                Keys.Delete,
                UltraGridAction.DeleteRows,
                UltraGridState.InEdit,
                UltraGridState.Cell | UltraGridState.Row,
                SpecialKeys.All, 0));

Do I have to handle the delete key in the keypress event?

Is there a keyboard way to deactivate the current cell, and let the row active?

 

Thnx.

Parents Reply Children
No Data