jQuery UI Widgets › Forums › Grid › prevent editor closing
Tagged: grid, jquery grid, jQuery Widgets
This topic contains 4 replies, has 2 voices, and was last updated by Peter Stoev 7 years, 8 months ago.
Authorprevent editor closing Posts
September 18, 2015 at 9:08 pm prevent editor closing #75999
Hi. Here is example: http://jsfiddle.net/Ln7ztzvb/
Click on any First Name cell from any row. As you can see I have a custom editor for this cell. In the reality I’ll have my own popup(not your popup plugin) instead of red square, but the red square is just for example.
In my popup user can do some actions, but when you click on the red square an editor is closed and event “geteditorvalue” is called. Is it possible to prevent editor closing if you click on popup or inside of popup(red square in my example)? Thanks.September 19, 2015 at 7:20 am prevent editor closing #76004
Grid will not end the editing only when the column’s validation function returns false.
http://www.jqwidgets.com/September 19, 2015 at 9:37 am prevent editor closing #76014
Click on “Color” cell to start editing. Now color picker popup is open. You can click on this popup but grid will not end editing, it is very good. But when I use my own color picker it has its own popup which is created inside <body> and when you click on this popup,
grid ends editing because you clicked outside of cell. Why in the example from documentation when you click on popup, grid does not end editing and when I use my own color picker and click on popup, grid ends editing?September 19, 2015 at 10:10 am prevent editor closing #76015
Oh, I found the same problem on this forum. Here you can see it: http://www.jqwidgets.com/community/topic/jqxcolorpicker-in-grid/#post-68844
But I did not find a solution of this problem.September 19, 2015 at 5:24 pm prevent editor closing #76023
You must be logged in to reply to this topic.