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 107 forks source link

Hide/Disable reset and save button #267

Closed fasi1208 closed 3 years ago

fasi1208 commented 4 years ago

How can I hide or disable the reset sand save button?

`<?= TreeView::widget([ 'query' => \common\models\MdcNode::find()->addOrderBy('root, lft'), 'headingOptions' => ['label' => 'Root'], 'rootOptions' => ['label'=>'Root'], 'topRootAsHeading' => true, // this will override the headingOptions 'fontAwesome' => true, 'isAdmin' => false, //'nodeView' => '', 'toolbar' => [ TreeView::BTN_REFRESH => false, TreeView::BTN_CREATE => false, TreeView::BTN_CREATE_ROOT => false, TreeView::BTN_REMOVE => false, TreeView::BTN_SEPARATOR => false, TreeView::BTN_MOVE_UP => false, TreeView::BTN_MOVE_DOWN => false, TreeView::BTN_MOVE_LEFT => false, TreeView::BTN_MOVE_RIGHT => false,

           ],

          'showIDAttribute' => false,
          'showTooltips' => false,

        'showNameAttribute' => false,
        'softDelete' => false,
        'cacheSettings' => ['enableCache' => true]
    ]);
    ?>`
fasi1208 commented 3 years ago

Is there no one to answer it ? :(

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