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

**URL:** <https://community.weweb.io/t/ww-datagrid-does-not-retrieve-datagrid-data-collection-on-page-load/19891>\
**Category:** Ask us anything\
**Tags:** supabase\
**Created:** [September 6, 2025, 1:09pm UTC](https://community.weweb.io/t/ww-datagrid-does-not-retrieve-datagrid-data-collection-on-page-load/19891 "2025-09-06T13:09:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hughg](https://avatars.discourse-cdn.com/v4/letter/h/35a633/32.png) [@hughg](https://community.weweb.io/u/hughg)\
**Post date:** [September 6, 2025, 1:09pm UTC](https://community.weweb.io/t/ww-datagrid-does-not-retrieve-datagrid-data-collection-on-page-load/19891/1 "2025-09-06T13:09:40Z")

</div>

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

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/8/8ece96b9ff67e119c2ea0f9958de421b271205ce.png)

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 …

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/3/3ac4e9f4521e0762ab197fe3fcab4a73e14b350a.png)

then the datagrid shows the row…

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/8/80a66062ce96e4443d580ee7ec799e8010449429.png)

---

<div class="post-metadata">

**Author:** ![sam1](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/sam1/32/6724_2.png) [@sam1](https://community.weweb.io/u/sam1)\
**Post date:** [September 7, 2025, 10:15pm UTC](https://community.weweb.io/t/ww-datagrid-does-not-retrieve-datagrid-data-collection-on-page-load/19891/2 "2025-09-07T22:15:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![hughg](https://avatars.discourse-cdn.com/v4/letter/h/35a633/32.png) [@hughg](https://community.weweb.io/u/hughg)\
**Post date:** [September 20, 2025, 8:09pm UTC](https://community.weweb.io/t/ww-datagrid-does-not-retrieve-datagrid-data-collection-on-page-load/19891/3 "2025-09-20T20:09:41Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![sam1](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/sam1/32/6724_2.png) [@sam1](https://community.weweb.io/u/sam1)\
**Post date:** [September 21, 2025, 9:12pm UTC](https://community.weweb.io/t/ww-datagrid-does-not-retrieve-datagrid-data-collection-on-page-load/19891/4 "2025-09-21T21:12:20Z")

</div>

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.
