Hi,
I've created a Low-Code App table linked with a GQI data source, and applied a custom layout to a few columns.
I would now like to apply a Query Filter component to that table, meaning that its data source assignment will change from a GQI query to a feed. As a result, the custom layout will be lost, despite the fact that the table columns will remain identical.
Is there a way to preserve the custom layout in such case, or apply it again afterwards in an automated way?
Thanks!
i made some tests by editing the json file directly and it is quite simple to do.
the only thing to change is the queryID field used in the column template.
there are several references in overrides for exampe, may be the overrides could refer to the top queryid defined in the column definition.
Another question is why the queryId property is set in each column definition, can it be different in some cases ?
Anyway with a little bit of scripting we can reuse component templates in different pages or component.