How I can take only first column value to Bulk Action?
I just need to id of product list in Collection of $records, because for too much data, will kill the page with all columns of selected rows.
8 Replies
I don't think its going to kill the page to be honest. It's designed with efficiency in mind so having all the columns is not a problem. I don't think there's a way of choosing one column.
Hi,
Thanks for your reply, but big data rows, taking to much load and it asked for kill the page
I'm assuming you mean that there are some columns in your database table that contain big data, and you don't display those big data columns in your filament table (because why would you). So, how about a global scope on your model that only selects the columns you need for your filament tables, and if you need to edit those big data columns in any form, just disable the global scopes before filling the forms
Hey @tuto1902
Thanks for reply.
I am getting this issue when select all for update operation all selected records:
You can see, it's display Exist page and wait
You can see 28588 records are selected
Yeah, that's a problem for sure. It's a first for me. I'll try to look for a solution. In the meantime, why not trying to ask for help in the official filament discord server. The more help, the better.
Hey,
Thanks for reply. I have already asked there official filament, but still not got any solution.