PDA

View Full Version : Remove behavior



HAcland
13 Sep 2012, 7:34 AM
Hi -

I have added a behavior with Ext.addBehaviors

How can I remove them please? There does not appear to be a method in 4.1

Thanks.

scottmartin
13 Sep 2012, 9:15 AM
You could use:
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.dom.Element-method-un

Scott.

HAcland
13 Sep 2012, 9:27 AM
You could use:
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.dom.Element-method-un

Scott.

Many thanks.

What is the difference between a 'behavior' and an 'event listener' in this context. They appear the same.

thanks for your assistance.