Replace the default dropdown in BulkAction with an ActionButton

I only have one bulkAction in my table and it is kind of annoying to have a dropdown that only contains one Action inside of it. I want to change the default dropdown and replace it with the deleteBulkAction. Is there a way to disable the dropdown?
5 Replies
Dennis Koch
Dennis Koch2y ago
I don’t think that’s possible without overwriting some blade files
toeknee
toeknee2y ago
Not that I can see either, but you should be able to see how the Export Action Button is handled within #alperenersoy-export and follow a similar principle for your action?
Dennis Koch
Dennis Koch2y ago
Isn’t that just a table header action?
toeknee
toeknee2y ago
Yep, but also gets the selected query, it's the closest you'll get to a bulk action button as far as I can see.
z33ro_
z33ro_OP2y ago
i'll try to implement a table header action instead if i can't replace the default dropdown. Thanks
Want results from more Discord servers?
Add your server