EasyUI Forum

General Category => General Discussion => Topic started by: hahamed on January 22, 2016, 11:24:55 PM



Title: Why tree has not "destroy" method?
Post by: hahamed on January 22, 2016, 11:24:55 PM
Hello,
How to destroy tree easyui?
thanks


Title: Re: Why tree has not "destroy" method?
Post by: stworthy 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();