Selectable row control
Is it possible to make selected rows always available on top of the list. Can we limit the number of selectable rows and make select all check box invisible...
1 Reply
Not that easily no. You cannot select a row and keep it at the top as then we would need to update the db to se the row as selected.
You can condition the checkbox to be clickable with:
checkIfRecordIsSelectableUsing()
But.... you would need to do a livewire table, selected records count on each one which would likely be a bit resource intensive.
I would tend to just have a condition limit within the bulk action, if X records selected return false/disable the button.