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

How to get values of input text onEdit, onDelete and onAdd functions #2

Closed
manojrhr opened this issue Jan 20, 2018 · 2 comments
Closed

Comments

@manojrhr
Copy link

Hi, First thanks for this great library.

I just want to know that how can I get values of input text onEdit, onDelete and onAdd functions of the which I edit and update the same in database using ajax.

@t-edson
Copy link
Owner

t-edson commented Jan 21, 2018

The event OnEdit() just give the row edited. OnAdd() doesn't give information of row because it's always de last row.
There as an issue with OnDelete, that probably can help you: #1
This library only give information about the row edited, deleted or added, not about the specific column. Additional code is needed to do this. Maybe it's better you update all the row, when changed.
Or if the table is small, I prefer to send all the entire table and not worried about rows or columns.

@t-edson
Copy link
Owner

t-edson commented Feb 14, 2018

Check the last version. It has implemented the event onBeforeDelete().

@t-edson t-edson closed this as completed Feb 14, 2018
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