Hi guys,
I'm working on a Reactive web, and I need to select all checkboxes from my table records.
It looks like List bulk select is not available on my module and I couldn't find any similar component on Forge. Am I missing something?
I appreciate any help, thanks!
Tamirys Barina wrote:
Hi,
Check out the template page "Bulk action"
This should cater for your use-case.
Hi Tamirys,
If you add a new screen to a reactive application there is a template called BulkActions. You can check how is recommend to achieve what you need.
Regards,
Marcelo
Thank you! I wasn't aware of this bulk template :D
Lol I checked that bulk page and there is so much logic in that. Maybe some one can use my advice:
Create a new column in your table, add a checkbox in the table header with a variable and put a checkbox on the line of your table. In the list structure of the source of the table add a boolean attribute example: "selected". Then create a onchange on the checkbox in the header of the table. In that action do a foreach on the list of the table and set the "selected" attribute value to the same as the checkbox variable in the header of the table.
Hi @freek,Can please share the OML for reference.