Nested Listview suddenly broken - controls take up space but do not render

  • Goal: continue using the app, which has hierarchical arrays, so we need to define a list of layers, and each layer has a list of animations.

  • Steps: App has been working fine for 2 years, but as of this week, it no longer works.

  • Details: we use ri[0] and i or ri[1] to reference the controls and connect the data to the controls in the list views.
    When we add an "animation" to the first layer, it works fine, but adding animations to any layer except the first, the space will shift where the controls should be, so it occupies space in the DOM, but the controls are not rendered (they do not exist in the DOM). The sizing appears to come from the parent control, which expects them to be rendered.

it seems to be the case that the COUNT of items rendered is coming from the FIRST top level entry? We cannot add more animations to the 2nd layer than exist in the first layer, with the exception of 1 shows up at a minimum.

since is always asked, this is the cloud version, we are not hosting retool

1 Like

it appears something broken with the rendering and probably has to do with the "number of items" formula. This provides the number of items to list, and it is used and calculated properly for the HEIGHT of the listview, but the wrong ri[0] is used when it calculates the number of animation elements to RENDER

image

I've checked and the List Container View doesn't have this problem.

Unfortunately, we don't have a way to iterate all animations in all layers, so saving the data becomes very difficult. We have so many controls, that activating an update on each "blur" causes extreme slowness, so we only update when SAVE button is clicked. There doesn't seem to be a way to reference the individual controls in a List Container View in a loop or iteration.

I found this issue and I verified that turning off WidgetGrid resolves the problem.

but seems the WidgetGrid is still broken

1 Like

Hey @Garr_Godfrey Thanks for diligently keeping us updated! Sorry to hear you ran into a WidgetGrid bug! :disappointed: I'll make sure our team is aware so that we can ship a fix

The app json is extremely helpful, btw :pray: thank you!