http://webix.com/snippet/ed8ded4f
in this snippet i have defined a custom edit on enter but its and working in my local machine or here in the snippet.
also in my local machine tab is not working though it had to be default.
i want to bring a functionality such that, (1). cell on enter should become a text field so that i can enter the value (2). when Tab is pressed it should go to next cell, where in the previously changed value will be saved.
i have already utilized the editor, it initialize a custom function. which does operations like
focus,
getValue,
setValue,
getInputNode,
render. can i still bring the default operation into this?
In the original snippet Enter doesn’t work because editor is not defined. If issue occurs when you are using some custom editor - please share the snippet.
In this snippet i could press enter and the cell gets focused, what ever i enter the cell is displaying blank.
I have to (1). on click the cell should get editable(for which edication:“click” works ) with that i want (2). When pressed enter the cell should get editable(whose action has to defined separately(edication: “Custom”), after which when tab is pressed it has to move next consecutive cell and make it editable and so on so forth.
But i am stuck i as the default operation are not being performed
i am trying to work on my local machine, for onItemClick and after getting the node through i am trying to focus. Even this functionality is not working for me
Ok. i have updated the code. still not working though the code is same.
webix.UIManager.addHotKey("enter", function(view){ var pos = view.getSelectedId(); setTimeout(function(){ var abc = view.edit(pos); }); });
when i do this, the cell gets selected and i can enter the value but the default tab operation doesn’t work as i press tab, though the cell gets focused the select doesn’t work.
after that i tried to do the same event with tab as addHotKey, now it takes two tab press to get the item selected