PDA

View Full Version : [CLOSED] Grid Dirty property and event



registrator
Apr 06, 2015, 11:10 AM
I would like to disable some controls on the form when a grid get's dirty?
Is there a property to check if the grid is dirty and an event that is triggered as soon as the grid is dirty?
All this for the Razor view please.

Thank you

Daniil
Apr 06, 2015, 4:44 PM
Hi @registrator,

There is a JavaScript .isDirty() on a Store. It appears to be helpful in your scenario.
http://forums.ext.net/showthread.php?26522&p=117630&viewfull=1#post117630

As for the Dirty event, I don't see such an event an API that would be fired on any change.

But there are event for specific changes. I would try with a Store's Update, Add and Remove events.

Hope this helps.