It´s all been said in the title ....
I can´t find a way in ExtJS 4 how to get the modified records from a store.
It´s all been said in the title ....
I can´t find a way in ExtJS 4 how to get the modified records from a store.
Checkout Apollo, an ExtJS4-based Apache Cassandra client: http://www.codefreun.de/en/apollo-en
I already found this, but it´s always length=0, no matter how many cells I´ve changed.
Checkout Apollo, an ExtJS4-based Apache Cassandra client: http://www.codefreun.de/en/apollo-en
It´s before saving, I just need to get the modified records from my store (like in ExtJS 3.X).
Checkout Apollo, an ExtJS4-based Apache Cassandra client: http://www.codefreun.de/en/apollo-en
you will also need:
http://docs.sencha.com/ext-js/4-0/#/...-getNewRecords
and
http://docs.sencha.com/ext-js/4-0/#/...RemovedRecords
since getUpdatedRecords() will only provide "updated" records and not new or deleted once...
... and I only want to have the modified ones.
I am gonna do a little example late this evening, maybe I am missing a special config-option or something like this.
Checkout Apollo, an ExtJS4-based Apache Cassandra client: http://www.codefreun.de/en/apollo-en
I mean how do you update your record because the record has to be dirty.
http://docs.sencha.com/ext-js/4-0/#/...property-dirty
You can set this with: http://docs.sencha.com/ext-js/4-0/#/...ethod-setDirty
Do I have to mark the changed row in grid as dirty manually or is it done by the internally (like it´s documented)?
Checkout Apollo, an ExtJS4-based Apache Cassandra client: http://www.codefreun.de/en/apollo-en
I don't know how you change your store/grid so I think you have to do it manually.
If you are using a plugin like CellEditing or RowEditing then it is done internally but I don't think this is the case because otherwise you should get the updated records.