I have a table displayed in a low code app that is showing the result of a GQI query getting DOM Data.
Per row I would like to have a custom button that is only needed via this low code app. (no real column in DOM)
This button is needed to run an Automation Script for that specific row.
How can this be done?
Hi Mieke
I'd work with table templates. You can easily add a column by using the 'Column Manipulations' feature in your GQI query. Then select RegexMatch on a column of your choice with regex .* (matching everything). You then choose the name of your new column. On this new column you can create a template with a button that executes your script.
The table templates can indeed not be used to create new (empty) columns. Only the existing columns can be styled to fit the usecase
Hi Mieke,
You can achieve this using table templates.
More info can be found here.
Ive, thank you. But so far I could only find how to replace an existing column with something via table templates.
I could not yet find how to add an extra column. Can this also be done?
Or will I need to use an existing column to add an icon to it’s cell where logic is added to?
The table templates can only be modified for existing columns, you cannot add a new column using them. Instead you could add a new dummy column using the column manipulations query node and add the button in its template. Note that the sorting & filtering will use the actual value of the column.
Hi Mieke,
Does the button need to be in a separate column?
Just thinking out loud, but why not add the button in one of the existing columns, next to the value?
If you need an extra column, you’ll have to rely on column manipulations or you’ll have to use an ad-hoc data source.
Thanks Jochen, by using regexmatch I’ll by coping the content of the column into the new column and by using the template I can hide it + replace with a button. This feels like a workaround. (that will work)
Does it mean there is no feature to really create an empty extra column where we can add custom items (table templates) to?