Closed lowap closed 5 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi Kartik, can you please add your comments on this? Many thanks!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi,
suggestion:
in TreeView.php I would suggest to change to:
public $mainTemplate = <<< HTML <div class="table-row">
otherwise it looks a little bit strange with a left-right scroll bar at the bottom.
question:
is it defined in the documentation that we should delete tree-related attributes from model rules? I have searched but haven't found any notes on this.
question2:
is there a way to add autofocus to textfield when clicking on add node or tree?
question3:
is there a way to open sublevels by clicking on the name of node or tree?
question4:
I can't update attributes of nodes, e.g. removable all etc. Why can that be? I have standard settings. It says I have succesfully changed it.
question5:
is there a way to keep the tree as it was last time? I mean when I'm opening a few nodes, and do some changes (update), I would like it to look exactly as it was before (so with certain nodes opened, some not - similar to persistResize by your gridView). Is there a way to do that?
question6:
how to access yii2-nested-sets methods, e.g.
Menu::find()->roots()->all();
? I mean through your tree-manager.question7:
is there a built-in method to turn nested set descendants into a plain multidimensional array to use in dropdowns?
Many thanks!
ps: sorry I know it's not the best place to ask such questions, but it's the easiest.