Open anthonychwong opened 2 years ago
I have the very same question. @anthonychwong did you manage to figure out how to add a root node?
Hi, im facing the same issue, got an idea of a solution? @anthonychwong @gmckesey
这是一封自动回复邮件。已经收到您的来信,我会尽快回复。
I made some changes and created fork https://github.com/digipurk/list_treeview To add new root node use: TreeViewController.insertRoot(NodeData newRoot)
The read me mentions these method in controller to insert nodes but they all seems need a parent. Is it possible to insert items at root level?