Hello all! I am building an app that requires some advanced filters within repeating groups. I have avoided using advanced filters wherever possible, but they are still necessary in some cases. The data loads quite slowly of course, and I would like to show some kind of loading state while the calculations are running. Does anyone have any tips for how to achieve this? I can’t think of any way to reference the loading status of the dynamic expression and would appreciate any help. Thank you!
hey @kyra !
while the optimal solution would be to restructure the filtering, that’s not always possible. You can always design a loading state group, maybe add an illustration or a Lottie animation and write content that fits any calculation running in the BG. Make this group visible while RG is loading.
I should have been more specific. I do have loading animations while the rg is loading, however, the rg is set up like a table. Within each row, I am calculating some numbers based on advanced filters. The rg loads but some of the calculations take a while to show up. I am currently thinking of using a workflow to push the calculations into the text elements, and showing a loading state when the data source is empty. I will report back on how that goes.
The solution my coworker gave to me, in case anyone sees this and wants to know, was to make the text’s default value “Calculating…”, then have a conditional of WHEN [dynamic expression containing advanced filter] is not empty, text = [dynamic expression]