Rahul
Rahul

Reputation: 13056

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

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 ?

Upvotes: 2

Views: 10713

Answers (2)

pllee
pllee

Reputation: 3959

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

or

viewConfig: {
    markDirty: false
}

Upvotes: 10

Brian Moeskau
Brian Moeskau

Reputation: 20429

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

Upvotes: 5

Related Questions