Hello,
i use grid 2.5 and excel map for navigation. If i press Delete button for clear cell value there is editor pops up for this cell. How can i disable this editor appearance when Delete button pressed only?
Thank you.
Alex.
Hello,
i use grid 2.5 and excel map for navigation. If i press Delete button for clear cell value there is editor pops up for this cell. How can i disable this editor appearance when Delete button pressed only?
Thank you.
Alex.
You can use
grid._key_events.k{code}_0_0=function(){ };
where {code} - key code of key, which you want to block
Thank you. Nice solution!
There is my code for others:
grid._key_events.k46_0_0=function(){ // 46 - delete key code
var c=this.cells4(this.cell);
c.setValue("");
gridDP.setUpdated(grid.getSelectedRowId(), 1); // update row for DataProcessor
};
Thanks again.