-
Notifications
You must be signed in to change notification settings - Fork 350
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
Prevent Losing Data in Edit Mode #1011
Comments
…ing row ( would fix tabalinas#1011 )
this change should do the trick by auto updating edited row before activate edit on another one |
@devel0 , thanks for the update. But I think it's equally risky to save unsaved changes forcefully. This may result in saving accidental changes that user didn't mean to save. So I think showing a prompt would be a safe approach. |
There is no callback when user clicks + button to insert a new row. Scenario:
I want to be able to show a prompt here. |
It wouldn't bad to have ability in choose desired behavior by some grid config variables defaulted to safer approach ( eg commitMode = prompt ) others value could be control ( by click on control accept icon ) or none ( the current one ). Or the one I proposed with PR would another type more auto update autocommit: false,
confirmAutocommit: true,
autocommitConfirm: "Save changes?",
|
in the update controller I am showing the server side validations (error) messages to user, so when I showing this message to user, I want to keep that row enable for editing . Please suggest what changes needs to do |
Hi,
I've searched through the Google, and here in git repo as well but couldn't find solution to following UX problem.
Lets say, when editing is enabled on the grid and user can click on a row item and start modifying. Now if user accidentally clicked on another row all unsaved changes will be lost.
Is there a way to prompt user to save changes before moving to another row?
Thank you for sharing the great work.
The text was updated successfully, but these errors were encountered: