vitmalina / w2ui

UI widgets for modern apps. Data table, forms, toolbars, sidebar, tabs, tooltips, popups. All under 120kb (gzipped).
http://w2ui.com
MIT License
2.63k stars 735 forks source link

Weird ENTER key behavior in Inline Edit with selectType = Cell #2495

Closed mkaramizrakli closed 4 months ago

mkaramizrakli commented 5 months ago

Discussed in https://github.com/vitmalina/w2ui/discussions/2491

Originally posted by **mkaramizrakli** February 8, 2024 Hi all, not sure this is the right place to ask this, but I have a problem with w2grid in Inline Edit mode, when selectType is set to "CELL". I want to enter to edit mode using the ENTER key. It works for the first time, but when I move to next column using arrow keys and click ENTER again, the previous column is being edited. Here is the link for the fiddle: [https://jsfiddle.net/mkaramizrakli/grqzuLhj/11/](https://jsfiddle.net/mkaramizrakli/grqzuLhj/11/) Thanks in advance!
vitmalina commented 4 months ago

I noticed that you use older version. If you can use lastest from dist folder it seems to work. Here is the link with example https://jsfiddle.net/9wuvc1bd/8/. Though here, I used es6 version, but with jquery version it should be all working too. Just use the files from /dist folder

mkaramizrakli commented 4 months ago

Thank you very much! It's solved as you suggested.