EasyUI Forum
April 30, 2024, 12:18:08 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: tree  (Read 3557 times)
dailyblog
Newbie
*
Posts: 30


View Profile Email
« on: October 27, 2016, 06:09:27 PM »

Is this setting supported?
$("#tree").tree({
    id:"...",
    parentId:"...",
    text:"..."
})

then json data can be loaded as below:
[
{id:1,parentId:'-1',text:'Node1'},
{id:2,parentId':1,text:'Node2'},
{id:3,parentId':2,text:'Node3'},
{id:4,parentId':2,text:'Node4'}
]

I think "loadfilter" function is more difficult than above
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: October 28, 2016, 08:52:50 AM »

Please look at this topic http://www.jeasyui.com/forum/index.php?topic=1265.0
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!