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!
Hi Ruben,
Since using the Query Filter component creates a new query, it is now not possible to keep the previously configured custom layout.
We have plans to change this behaviour and make it easier to reuse/retain custom layout configurations.
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.
Are there any updates on this feature? And if not there yet, is it possible to (relatively easy) achieve this by messing around in the App’s json files?