custom table row for bulk edit
I'm trying to find a clean way to show a row with inputs below column headers when rows are selected. User would be able to update multiple rows with column data - without clicking on the bulkaction button ,clicking another time tonselect bulkedit for column and typing into a modal.
Teleporting the row from a renderhook won't work as table gets rerendered on submit.
The only solution i could think about is copying the x-filament::table component and add the row, then copying the table.index blade file which then includes my own table component and set this view for the given table.
This is obviously very ugly and less maintainable.
Do you think is there a better way to have this functionality?
2 Replies
I'm not sure I see a better way... but if you have time and can think of a good API for it, consider sending a PR! I would find this feature useful.
cool, thanks. I'll def think about it and open a discussion on github