I have defined editable as:
my column as:
I want to tie into when the "cancel" button is clicked but I have not found a way. Tying to the grids "cancel" event never fires . This seems odd because the "edit" and "save" events do fire as expect...just not the cancel.
Technically I need to run code every time the grid goes into edit mode, and every time the grid leaves edit mode. Is there another way besides the grid events? Why isn't the cancel event firing? Can I attach to the cancel click like the edit click? If so how.
On another note, can you prevent a row from leaving edit mode?
editable: {
mode:
"inline"
,
update:
false
,
destroy:
false
},
my column as:
command: [
{
name:
"edit"
,
text: {
edit:
" "
,
update:
" "
,
cancel:
" "
},
click: clickEdit
},
Technically I need to run code every time the grid goes into edit mode, and every time the grid leaves edit mode. Is there another way besides the grid events? Why isn't the cancel event firing? Can I attach to the cancel click like the edit click? If so how.
On another note, can you prevent a row from leaving edit mode?