Categories | Question details Back To List | ||
Delete Iam using the following code to delete a row using the delete key mygrid._key_events.k46_0_0=function() { if(!this.editor && this.row) this.deleteRow(this.row.idd); } This works fine but is there a way to add a condition saying that if the grid is in edit mode then the delete key should work normally if not then use it to delete a row. Answer posted by Support on Nov 25, 2008 01:48 Change your code as mygrid._key_events.k46_0_0=function() { if(!this.editor && this.row) this.deleteRow(this.row.idd); else return false; } |