Remove the red modified tags in an ExtJS 4 gridpanel

image

When a record is modified in a gridpanel, ExtJS is automatically adding the smal red tags to indicate that the record has been modified by the user. This is sometimes very annoying and you can get rid of them very easy by modifying the viewConfig of your gridpanel class.

How to do it

In the grid class you add the markDirty parameter to your initComponent function of your gridpanel class:

Johan van de Merwe
Dedicated to professional software development since 1985. Has worked since 1992 as IT manager in several international operating companies. Since 2007 CEO and Sencha Ext JS web application developer at Enovision GmbH.

Leave a Reply

Time limit is exhausted. Please reload CAPTCHA.