kartik-v / yii2-tree-manager

An advanced tree management module using nested sets for Yii 2.
http://demos.krajee.com/tree-manager
Other
150 stars 108 forks source link

div class="table-row #166

Closed lowap closed 5 years ago

lowap commented 7 years ago

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.

stale[bot] commented 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.

lowap commented 5 years ago

Hi Kartik, can you please add your comments on this? Many thanks!

stale[bot] commented 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.