Aurb Aurb -4 years ago 160
Javascript Question

Auto save on database without having submit button on the table using x editable inline mode

I am currently working on a Ruby On Rails(student) project displaying table with X editable plug-in. On the documentation on x editable to save the edited cell back to database, it used a "submit" button, Is it possible to exclude submit button and used the check button on the inline mode. Like if the user click "enter" on the keyboard it will be automatically saved to the database. Thank you in advance.

Answer Source

If you have a look at their documentation, I think it will autosubmit if you just switch the button off by setting showbuttons to false?

showbuttons

Where to show buttons: left(true)|bottom|false  
Form without buttons is auto-submitted.
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download