EasyUI Forum
May 21, 2024, 05:55:18 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: get the JSON data from a treeview  (Read 4648 times)
codeguyross
Newbie
*
Posts: 15


View Profile Email
« on: February 19, 2014, 02:00:47 PM »

How do I get the JSON data from a treeview. I want the whole tree.

Here is what I have so far :

$('#Tree').tree('getData',$('#Tree').tree('getRoot').target)

That command will get all of the data for the root node but I am not sure how to take what I have at that point and turn it into JSON.

Thanks!
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!