Deleting Row in Grid using Delete Key

Hi,



What is the event, one can use if he wants to Delete the selected rows from the grid using Delete Key. Code will be useful.



Thanks.

You can use “onBeforeRowDeleted” event:
grid.attachEvent(“onBeforeRowDeleted”, function(rId){});
rId - id or the row;