EasyUI Forum
April 25, 2024, 06:02:21 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to Destory ComboTree Component  (Read 7932 times)
amir-t
Newbie
*
Posts: 48


View Profile
« 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.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: July 29, 2013, 09:27:53 AM »

Please call 'destroy' method to destroy combotree component.
Code:
$('#cc').combotree('destroy');
Logged
amir-t
Newbie
*
Posts: 48


View Profile
« Reply #2 on: July 29, 2013, 10:20:05 AM »

works. thanks a lot Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!