TreeView 测试
测试了下TreeView,还不错
control.treeView:setRootVisible(true) local rootNode = control.treeView:getRoot() rootNode:add(TreeNode:new("Test1")) rootNode:add(TreeNode:new("Test2")) rootNode:add(TreeNode:new("Test3")) rootNode:getChild(0):add(TreeNode:new("Test4")) rootNode:getChild(1):add(TreeNode:new("中文"))