Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Server side saving of edited rows #25

Open
jorgdec opened this issue Dec 18, 2014 · 0 comments
Open

Server side saving of edited rows #25

jorgdec opened this issue Dec 18, 2014 · 0 comments

Comments

@jorgdec
Copy link

jorgdec commented Dec 18, 2014

Any plans the implement server side saving of edited rows?
We needed this for our project using php and polymer. We implemented this by adding, in our case, the following lines to extjs-ajax.html :

var tableToJson = (this.data ? JSON.stringify(this.data) : "'');
var params = {
_dc: (new Date).getTime(),
page: 0,
start: this.start,
table: tableToJson
};
this.ajax.method = 'POST';

and adding a function to sortable-table.html to trigger on a button click :
saveTable: function(){ this.dataSource.go(); },

This way we can save the edited table in php without losing pagination, sorting, etc...

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

No branches or pull requests

1 participant