问题
EditorGridPanel shows a small red triangular corner on the column that is edited to indicate an unsaved record.
Since I am using autoSave, I don't need to indicate the record as dirty/unsaved.
Is there an easy way to disable this ?
回答1:
See this :
http://www.sencha.com/learn/Ext_FAQ_Grid#Dirty_Record_.2F_Red_Flag_.28modifying.2C_etc..29
回答2:
view: Ext.grid.GridView({markDirty: false})
or
viewConfig: {
markDirty: false
}
回答3:
.x-grid3-dirty-cell {
background-image: none;
}
来源:https://stackoverflow.com/questions/3083631/extjs-3-x-how-to-disable-the-red-mark-indicating-a-dirty-record-in-extjs-editor