WW Datagrid does not retrieve datagrid data collection on page load?

I have a data collection linked to a data grid as shown: -

This collection I know from the underlying supabase table should be returning one row, but it does not return any rows to the datagrid when the WW page loads…

I have to physically go into the “data” tab in WW and trigger the retrieval of the data collection… then it shows in the data grid. The collection is set to fetch automatically …

then the datagrid shows the row…

Is your data grid conditionally rendered? I have found that things that are conditionally rendered will not trigger the fetch automatically.

1 Like

Thanks. That was it all along. We Web haven’t got the user UX on this right at all, there should be warnings etc at least when assigning datasources to conditionally rendered datagrids.

No worries, this isn’t a specific data grid thing btw. For example if you have a repeating group that users a collection, in a flexbox that is conditionally rendered it also wont automatically fetch. I use conditional rendering a lot and so rarely do I have a collection with fetch automatically turned on.