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

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -