Skip to content
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.

Form Edit repopulate the entire table #127

Open
bouks opened this issue Apr 23, 2015 · 2 comments
Open

Form Edit repopulate the entire table #127

bouks opened this issue Apr 23, 2015 · 2 comments
Labels

Comments

@bouks
Copy link
Contributor

bouks commented Apr 23, 2015

When validating the editing form:

  • the line is inserted or modified in the table
    And then:
  • the table is entirely repopulated.

To see add a console.log(cellval) in any $.fn.matter (a related column must be present in the table of course).

@bouks bouks added the bug label Apr 23, 2015
@bouks bouks changed the title Form Edit repopulate/reformat the entire table Form Edit repopulate the entire table Apr 24, 2015
@bouks
Copy link
Contributor Author

bouks commented Apr 24, 2015

Should we set reloadAfterSubmit to false ?

https://github.com/bouks/jsgrid/blob/master/js/grid.formedit.js#L339

or remove :

https://github.com/bouks/jsgrid/blob/master/js/grid.formedit.js#L783-L785

https://github.com/bouks/jsgrid/blob/master/js/grid.formedit.js#L802-L804

That reminds me that the 'first' and 'last' (also exist 'before' and 'after') option (in addrowdata) was never working, maybe because of that...

@meh-uk
Copy link
Contributor

meh-uk commented May 3, 2015

Don't mind.

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

No branches or pull requests

2 participants