Open NonLinearThoughts opened 1 month ago
It seems jtable is a dead project.
After adding new record, jtable reload the table.
We used jtable with sorting and paging, it always reload the page
Finally I used
recordAdded: function (event, data) { $('#tableContainer').jtable('reload'); }
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.