Seeking for Advice Loading RG Data in SPA

Hey Guys,

when it comes to loading Data in RGs which contains 2-3 Datatypes the Data loads not evenly or delayed.

Best practice is to show a Loading Animation obviously.

But how should i build my RG Data around that Loading Animation?

Should i build a WF which should show the Loading Animation - Set State of all the Data i want to display - Hide Loading Animation?

Or is there any other “better” method?

Usually, a simple condition works.
On the loading icon ‘When RG is loading’ The element is visible.

If your RG datasource depends on other states, you can add condition on the RG to have datasource only when all states are not empty.

Hope this helps.

You can mix the expression with “Entire Page Loaded” event as well.
I would recommend to show the loader and hide the RG by default and then hide then loader when you are sure the Repeating Group is visible with list count > 0.

My Main Problem is that i have a Do a Search Within a RG.
This Value always loads later than the other Values. Even with RG is loading.

How can I display the RG only when the Search for Values in the Progress Column is loaded?

Ideally, you can have a loading animation for the progress column as well since Bubble will take the filter into account and then fetch the results, cell-wise. Once your data is populated, you can hide the loading animation.

Another option is to store this metric as a field in your Leadlist_Name table. That way it loads with the rest of the RG. In this case, you’ll just have to ensure that this field is being updated when the Campaign leads etc are being updated.

If you have the RG within RG, do either of the following:

  1. Optimize the data such that it is stored as a list within the data like @Zeroic recommended.
  2. Create a separate RG and refer it inside like @georgecollier recommended on this post Overall App Optimization & WUs - #4 by animisha45

This topic was automatically closed after 70 days. New replies are no longer allowed.