开发者

ExtJS 3.x: How to disable the red mark indicating a dirty record in ExtJS EditorGridPanel

开发者 https://www.devze.com 2023-01-03 23:53 出处:网络
EditorGridPanel shows a small red triangular corner on the column that is edited to indica开发者_StackOverflowte an unsaved record.

EditorGridPanel shows a small red triangular corner on the column that is edited to indica开发者_StackOverflowte 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 ?


view: Ext.grid.GridView({markDirty: false})

or

viewConfig: {
    markDirty: false
}


.x-grid3-dirty-cell {
  background-image: none;
}
0

精彩评论

暂无评论...
验证码 换一张
取 消