Given that I have a table component with a checkbox column, how do I offer the user a feature to “select or deselect all checkboxes” with one click …
… while having all records highlighted as changes (looking like a usual manual change) and being able to still de/select one specific checkbox before persisting it with “Save Changes”?
I tried manipulating the recordUpdates property of the table component with a JS query, but the property update isn’t reflected in the GUI (I guess it’s read-only).
=> Is there a way to do manipulate the recordUpdates property and have these manipulations reflected in the GUI?
… (without any further requirement) ?
I have solved it now with a DB query by simply setting the checkbox column to false and then triggering the refresh of the table component.
- In case the user wanted to select all checkboxes and then deselect one specific one before actually saving it, 2 instead of 1 DB queries were executed
- Hence this would be slower