Open isaackearl opened 3 years ago
+1
that would be cool if that is possible right now I have my add button in the top row bar instead :(
I've managed to do it by editing the datable.blade.php file.
+1
+1
+1
There's a property you can pass to your table beforeTableSlot
where you can add a blade component.
That's how I did it anyway.
<livewire:tables.products beforeTableSlot="components.table-crud" />
edit: Sorry I see you mentioned it, should have read your issue more closely.
Hello, amazing package BTW. I'm trying to use this package for creating Crud tables, and I want to add a "Create" button for making a new record. Was hoping I could custom implement something like this in a similar manner that you can do with the actions callback for a column that has custom actions (such as view, edit and delete). Is this possible? Or do I simply have to use the "beforeTableSlot" and put the button somewhere above the table? This is doable though it's not quite as ideal. If this isn't possible, then I guess this is my formal feature request.
Thanks!