Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-increment id not rendered #2288

Open
NonLinearThoughts opened this issue Jul 12, 2024 · 3 comments
Open

Auto-increment id not rendered #2288

NonLinearThoughts opened this issue Jul 12, 2024 · 3 comments

Comments

@NonLinearThoughts
Copy link

NonLinearThoughts commented Jul 12, 2024

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
Copy link
Author

It seems jtable is a dead project.

@sheryever
Copy link
Contributor

After adding new record, jtable reload the table.

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

@NonLinearThoughts
Copy link
Author

NonLinearThoughts commented Jul 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants