Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ashwani on Jul 22, 2009 08:38
open dhtmlx forum
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.
Answer posted by dhxSupport on Jul 22, 2009 08:50
You can use "onBeforeRowDeleted" event:
grid.attachEvent("onBeforeRowDeleted", function(rId){});
rId - id or the row;