volosoft / jtable

A JQuery plugin to create AJAX based CRUD tables.
http://www.jtable.org
1.1k stars 506 forks source link

Auto-increment id not rendered #2288

Open NonLinearThoughts opened 1 month ago

NonLinearThoughts commented 1 month ago

If you use an auto-increment id field and you add a new record then the returned id is zero!!! Of course the new added row does not make a round trip from the database using not the new database record but the values from the form and the user has to refresh the page to see the id that just created from the database.

NonLinearThoughts commented 1 month ago

It seems jtable is a dead project.

sheryever commented 1 month ago

After adding new record, jtable reload the table.

We used jtable with sorting and paging, it always reload the page

NonLinearThoughts commented 1 month ago

Finally I used recordAdded: function (event, data) { $('#tableContainer').jtable('reload'); }