Element tree adds parent nodes based on child nodes

clipboard.png

level: level
sort: current level location

excuse me: add a parent node according to the currently selected node, become the added parent node at the current node location, and the current node becomes the child of the parent node?


just manipulate the data, and the view responds automatically. You use a custom slot to render the node data ( example ), it will pass the parameter node, data; according to the node.parent can get the parent node's node, and get the parent node's data node.parent.data.

clipboard.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3ee3b-4480c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3ee3b-4480c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?