Thank you for writing.
Your scenario is possible by creating a custom GridDataRowBehavior
and override the ProcessDeleteKey
CustomRowBehavior : GridDataRowBehavior
Then in RadGridView
, unregister the default behavior and register yours:
BaseGridBehavior currentBehavior = radGridView1.GridBehavior
The above implementation will set the CurrentCell
value to null, when the Delete
key is pressed. However, I am not quite sure how would you recognize when a row is fully selected in order to delete a row and when just a cell is selected in order to delete the cell value. Please provide me with the exact end-user scenario of selecting a whole row vs. selecting just a cell, so I can help you with the implementation of this behavior.
I am looking forward to your reply.
All the best,
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>