extjs4 - ExtJs store getModifiedRecords() -
i have grid in view gets populated store. update store records calculating numbers. therefore, method getmodifiedrecords() returns 1 have been modified. question comes @ point.
is possible tell when start getting modified records? example, want make calculations , update store. app requires @ point getmodifiedrecords() should return nothing.
if make changes store later, should return modified records.
getmodifiedrecords
return records are:
- new:
item.phantom === true && item.isvalid()
- updated:
item.dirty === true && item.phantom !== true && item.isvalid()
so if create record or set record field these returned function.
Comments
Post a Comment