|
Title: Datagrid end edit on datagrid loose focus Post by: devnull on November 17, 2014, 04:32:49 PM How can I end cell / row editing when the datagrid looses focus to another element on the page ?
I have tried several onblur() methods but none of them fire. Thanks Title: Re: Datagrid end edit on datagrid loose focus Post by: stworthy on November 17, 2014, 06:24:23 PM The datagrid panel must have a 'tabindex' attribute defined otherwise it can not get focus. Listening to the 'blur' event to end editing a row is not a good solution. An alternative way to solve this issue is to handle the 'mousedown' event on the document.
Code: $(function(){ |