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

autocommit changes when begin editing another row from an active edit… #1015

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

devel0
Copy link

@devel0 devel0 commented Jan 28, 2018

autocommit changes when begin editing another row from an active editing row ( would fix #1011 )

Lorenzo Delana added 15 commits February 6, 2018 17:08
… event occur such a document location change ( update can be invoke through jg.jsGrid("updateItem") )
… changes using jsGrid("editPending") and confirm programmatically by jsGrid("confirmPending"). This function returns false if some validation failed to allow you preventDefault() of your save button
…ow is toggled to avoid validation (if there are some default templated value in control that may cause validation fail even insert row off)
…nder cells, useful for total row display
@@ -1390,7 +1390,7 @@
return;

if(this._editingRow) {
this.cancelEdit();
this._finishUpdate(this._editingRow, this._getEditedItem());

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what I have been looking for. Thank you

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do I need to edit the distro or can I override this method?

@barry8schneider
Copy link

devel0 I would like to make a pull request from your rep for these changes. But your repo is no longer public. would you please share with me?

@devel0
Copy link
Author

devel0 commented Jun 29, 2018

Hi Barry, may repo changed into follow name
https://github.com/SearchAThing-forks/jsgrid
and its still public, I just tried with inprivate browing and I can see that

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

Successfully merging this pull request may close these issues.

Prevent Losing Data in Edit Mode
2 participants