Table - show all items immediately

Does anyone know if there a possibility to show all items immediately in a Table element instead of loading as you scroll? That possibility exists when using a repeating group but I haven’t seen it in the table element

Cannot find the option for the table indeed. What if you use a hidden (or size 0 x 0) repeating group with option “show all items” activated as the datasource for the table?

Thanks but unfortunately the table can’t use the RG as a data source

Why not?

1 Like

I tried it but it didn’t work, maybe I’m doing something wrong?

You must be…

Got it, did manage to connect them but the data is still not appearing immediately…

It was worth a try, but indeed, I did a small test and the table element does not show all of the entries (although the RG which is used as data source is set to “show all entries immidiately”). Once you scroll, new table entries are added the table.

Maybe someone else has a good idea.

The table element is still in beta so Bubble might still add this feature.

The solution for now is to use a repeating group it seems, any reason you do not want to use that (besides the table element being easier to use)?

Don’t hold your breath, Table element hasn’t been touched in about a year.

I did find a rather “ugly” work around:

  1. Set the max height of the ‘repeating’ row of the table element to 0 px.
  2. Add a condition to the ‘repeating’ row that sets the max height to 80px (or the desired height of course) once all of the data is loaded in the repeating group that is used as a data source for the table element. This condition should be "when repeating group (you use as data source for the table) is loading = no and repeating group list of … count > 0.

image

The idea behind is that because all the rows are 0 px high at first, they will be shown immediately (so no need to scroll down / for Bubble to do lazy loading). Once the all of the data is loaded in the repeating group, (and all of the table rows rendered), the height for the table rows can be set to the desired height and the data will be visible all at once.

That would be a shame. I use it quite a lot. I remember reading somewhere or maybe it was mentioned during the product sesh that Bubble was collecting feedback or already in the process of adjusting the table element based on feedback.

I use the table element on nearly all my newer apps these days. Was completely against it at first because I could make tables with RGs essentially the same way with more customization. Now, the table takes care of most of it. I haven’t seen too many alternatives that provide the simplicity of it.

1 Like

Sir. They made the icon smaller. Give credit.