When I set the container of a Data Viewer Grid (DVG) item’s visible to false (the parent row/column), it leaves a gap instead of shifting the other items one step backwards. When we set normal components’ visible to false, the invisible component doesn’t take up space. Then why do DVG and DVL(Data Viewer List) items leave a gap?
I recommend always spelling out acronyms when starting a new topic. That way, people who find this topic and are new to Thunkable will be able to better understand it. For example, I’m not sure what SDVL stands for.
When you mention something like “DVL”, you could write “Data Viewer List (DVL)” and then refer to it as DVL in any later sentences or posts in the topic.
I’m so sorry, I didn’t think of that! I’ve edited my title and my post. I’ll make sure not to do it again… And SDVL was a typo.
I have experimented a lot with the data viewer list and I can confirm that the invisible ones do not leave empty space.
PS: At least that was the case 2-3 months ago
Weird. This is happening to me with both the List and the Grid. Could you try it once again and tell me if it’s the same case with you. Oh, and also I’m not talking about an entire data viewer layout, I’m talking about a specific item within a layout. Invisible whole layouts don’t leave a gap, but If I do
From DataViewerList1's LayoutWrapper for row id(random row id) set visible to false
, then it leaves a gap.
But the project link I sent you yesterday hides the DVL row. Is that not working for you in a DVL? I understand it’s an issue with a DVG.
This is from that project where you had Name1, Name2, Name3, and Name4 in the data source but I hid the third item/row.
Yeah, it does hide the row, but it leaves a gap where the invisible row should’ve been.
Where is the gap in the screenshot I posted just above? I’m just trying to understand because I don’t see a gap.
Any ideas on what to do about the grid gap? I need to hide a lot of them and if the users come upon random (huge) gaps, they’ll be pretty confused.
No. I tried to duplicate the problem and I didn’t even get that far. In my testing, I couldn’t hide the date a Grid row. It never disappeared so I couldn’t do any testing related to the gap you’re seeing.
What happens if you refresh the DVG after your filter process?
I am also stuck in the same problem…could you fix this?
You can Try Creating a Custom Data Viewer Grid
Thanks but how will it solve in removing empty rows?
how do you do it
It is probably a Sizing and Filling issue with Thunkable, you must try Custom Data Viewer Grid
thanks