Title: Clone Tree View Post by: jlivio on May 25, 2015, 08:06:10 AM Hi All!
Is there a way to clone a Tree and become available for clicking? Code: var $treea = $("#tt").clone(); After clone Javascript is not assumed. Thanks Joao Title: Re: Clone Tree View Post by: jarry on May 25, 2015, 06:53:36 PM You can call 'getData' method to get the source tree data, clone this data and create a new tree. Please refer to the code below.
Code: var t1 = $('#tt'); // the source tree Title: Re: Clone Tree View Post by: jlivio on May 26, 2015, 03:03:15 AM Thank You Jarry!
Since i'm writing in a DB this procedure works GEAT! Send Data Code: var t1 = $("#tt"); // the source tree Get Data Code: var jdata = JSON.parse(value.FIELD); |