I made this simple table with unfinished custom editor on last column http://webix.com/snippet/f20374e5 . The custom editor is a simple text area which reset value before edited.
Why it’s say ‘script error’? the console said ‘this.getInputNode(…).setValue is not a function’. Is this a good way to make custom popup editor?
As you’ll see in the console, it’s ‘blur-ing’ a lot of popup after couple of open and hide pop up. In the my project, this cost a lot of resource. How to actually hide the popup after every edit?
You are applying applyEvents from the getInputNode. As resutl attachEvent code is called multiple times, and you have many blur handlers instead of a single one.
Just move event handler into the editor’s config, so it will be initialized only one time per editor