When a user input a value in an editable DataTable cell, he or she should press ‘enter’ key to save this value. If the user do not press ‘enter’, but for example click outside of the table, the input is not saved and cell value comes back to previous value.
I find it not user friendly at all as usual html inputs and forms have a different behavior (i.e. inputs are saved on focus out, while ‘enter’ usually is reserved to send form as post request).
Is there any way to change this behavior ? It is a small detail but it has a great impact (in my app) on user experience.
I think the goal is to have cells save the input from users without having to hit enter. Right now if you type something and then click out of the table without hitting enter the value reverts to the previous value in the cell. I am still looking for a solution to this issue.
Also, does anyone know how to have the text align left so when a user starts typing the text starts on the left side of the cell and moves to the right side of the cell?