Hide some buttons in the dropdown menu #973
Replies: 3 comments 3 replies
-
Hey @ivictor777 $this->crud->operation('list', function() {
$this->crud->setAccessCondition(['update', 'delete'], function ($entry) {
return $entry->id===1 ? true : false;
});
}); https://backpackforlaravel.com/docs/6.x/crud-operations#handling-access-to-operations |
Beta Was this translation helpful? Give feedback.
-
Hi @karandatwani92 I can do this: and all my buttons will be hidden. However, I cannot move only part of the buttons to the drop-down list. This would be convenient in my project, since there are a lot of buttons, and some are used often, others rarely. It would be great to have a More (...) button that hides rarely used buttons. |
Beta Was this translation helpful? Give feedback.
-
Closing in favor of #751 (comment) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. Can you make it possible in the table to hide not all buttons in the dropdown list, but only some of them?
Beta Was this translation helpful? Give feedback.
All reactions