fuelux树中的可选文件夹

时间:2013-09-07 14:59:09

标签: javascript jquery treeview fuelux

如何使用fuelux树选择'文件夹'? (即下拉树中的每个节点都是可选的)我在谷歌驱动器中选择文件夹时看到了一个这样的例子:

Google drive - selecting a folder from a tree

目前我只能在树中选择“项目”。以下是包含文件夹和项目的树数据示例:

{"Biology":{
"name":"Biology","type":"folder","classID":1},
"Chemisty":{"name":"Chemisty","type":"folder","classID":2},
"Maths (empty)":{"name":"Maths (empty)","type":"folder","classID":6},
"Jack Woods":{"name":"Jack Woods","type":"item","userID":4},
"Jenny Tran":{"name":"Jenny Tran","type":"item","userID":16}
}

谢谢!

1 个答案:

答案 0 :(得分:0)

这不是当前树实现的功能。您可以在http://fuelux.uservoice.com/forums/181290-general/suggestions/3745471-is-there-any-way-to-allow-the-selection-of-a-node-

投票赞成此功能

感谢您的帖子!