1

docsに従って、 DataChanged イベントが発生しますwhenever the records in the Store have changed in some way - this could include adding or removing records, or updating the data in existing records

私の質問は、どのレコードが追加/削除/変更されたかをどのように知るかです。パラメータとしてストア参照のみを取得します。

4

1 に答える 1

2

どの変更が datachanged イベントをトリガーしたかはわかりませんが、変更されたレコードを取得できます。

this.getModifiedRecords();
this.getRemovedRecords();
this.getNewRecords();
于 2014-05-23T17:32:02.580 に答える