I am creating dynamic editor by calling by calling mygrid._init_editor(id, type, true); On lost focus I want to closed that editor…
Instead of using private methods, why not call
dt.editCell(row, column)
If necessary you can change editor configuration before editCell call.
My requirement is simple.
I want to open one editor on closed of that editor I want to set it’s adjacent editor with some hard-coded value and closed that editor.
Hence hard coded value get assign to adjacent cell.
Note :- I want to open and closed adjacent column editor as it fire some other event that record it’s value.
Can you show me one snippet like this. That will help thanks!
If I call edit event from edit event it creating infinite loop.
I’m not sure that you are really need to open second editor - you can fire all necessary events by existing API. ( you can simulate any necessary event with callEvent api call, and if you are talking about data saving - calling updateItem api will trigger data saving )
If I call edit event from edit event it creating infinite loop.
You can use
webix.delay(function(){
dt.editCell(row, column);
})
webix.delay work perfectly fine thanks!