Follow up to this, it does look like you can have Options selected via a script action or event handler that controls the component:
The base could just be a variable that is set to your default array of options and then is updated when a user is in the app. In the future, the values can be pulled directly from User Attributes in Retool to store user-specific defaults.
Where shall i add this
My SQL query name is "Get_tasklist" so i asume that the script will be like this:
{{ Object.keys(formatDataAsObject(Get_tasklist.data)) }}
Hi @pyrrho
I needed to use .dataArray in my code. This list up all the fields.
I see that the some of the headings starts with "fld"
I have renamed the label in the table without fld. Do you know how of a script that i can add to the checkbox group Label that will remove fld where this is present?