Yii2 Show/Hide kartik treeview nodes
问题 I am using Kartik Tree Manager. I am able to add, remove, update nodes. There is more requirement, that is to show/hide nodes on the basis of user access. i.e. when a user is given a specific node(s) then only that particular node(s) with all the child (if any) should be shown. What I have done so far? I have created a table user-node in which I am assigning a node id to a user as shown below What I want to do Now I want to show only the specified node with its child node only and hide other