Hello Folks,
While am working on Extjs 5.1. I faced an Issue like i didn't get the Modified records from Store. Then i searched in the forum it is an issue in Ext 5.1.
looping the store items and validating the dirty property true or not.
like item.dirty == true
and we can also check store records are modified(Updated) or not.
While am working on Extjs 5.1. I faced an Issue like i didn't get the Modified records from Store. Then i searched in the forum it is an issue in Ext 5.1.
looping the store items and validating the dirty property true or not.
like item.dirty == true
and we can also check store records are modified(Updated) or not.
var storeRecords = store.getRange();
for (var i = 0; i < storeRecords.length; i++) {
    var rec = storeRecords[i];
    if (rec.dirty == true) {
        //Do
Operations basedon
    }
}
No comments:
Post a Comment