EasyUI Forum
May 15, 2024, 04:28:21 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Why tree has not "destroy" method?  (Read 6079 times)
hahamed
Newbie
*
Posts: 13


View Profile
« on: January 22, 2016, 11:24:55 PM »

Hello,
How to destroy tree easyui?
thanks
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: January 23, 2016, 08:15:10 AM »

The tree does not need the 'destroy' method, you can call 'remove()' method to destroy it.
Code:
$('#tt').remove();
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!