Skip to content

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

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