I have an Ext.grid.Panel (aka gridpanel) with a store, used only for client-side visual effects (i.e., nothing gets saved to the server). When I create new model instances and add them to the store they are shown in the grid with a red corner (presumably indicating that store changes haven't been saved).
At the moment I'm calling the .commit() method on each record/model before it is added to the store to prevent the dirty record red corner in the grid.
Is there a more generic way of simply configuring a grid panel to not display any visual indicators regarding the "dirty" status of a record?
Note: The solutions in this similar question either involve CSS or only work for ExtJS 3. I'm hoping to find a programmatic "setting" that works for ExtJS 4.