oria / gridx

Just another powerful Dojo grid
Other
162 stars 78 forks source link

Esc key press on child row triggers to save the cell value in Chrome and FireFox #418

Open there123 opened 6 years ago

there123 commented 6 years ago

Hi,

With a tree grid, we have certain column as editable(using gridx/modules/Edit). When changing the cell value in the child row, the expected behavior is to cancel the change. But this only works with the parent row, and cancelling child row value change only works in IE. From Tree.js and Edit.js, it seems Esc key press event handler loses the focus on cell editor, which makes it not in editing mode and fail to revert the change.. This may worth more investigating as a bug.

Thanks!