EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: amir-t on July 29, 2013, 06:19:21 AM



Title: How to Destory ComboTree Component
Post by: amir-t on July 29, 2013, 06:19:21 AM
Hi,
how can i destory the 'comboTree' component (including removing all its handlers and callbacks)?
Is there a fixed method which can do it in the component's API?

Thanks in advance.


Title: Re: How to Destory ComboTree Component
Post by: stworthy on July 29, 2013, 09:27:53 AM
Please call 'destroy' method to destroy combotree component.
Code:
$('#cc').combotree('destroy');


Title: Re: How to Destory ComboTree Component
Post by: amir-t on July 29, 2013, 10:20:05 AM
works. thanks a lot :)