I have 3 collections and a button block with 3 buttons. I would like to either show a collection on a new tab or hide the 2 other collections from view. Has anyone done this before?
Cheers!
hi. One way to do it is to use custom actions with conditions for your buttons and set column values of your choice (eg. set a boolean column to true or false), then apply visibility conditions on your collections according to the column values.
You can use a choice component to write values to a user-specific column, and drive the visibility of those collections based on the chosen value.
Thanks! I’m just a few days in with working with Glide so just getting my footing at the moment, but I am trying to work on the options you both suggested. The collections showing/hiding are my second choice for displaying the screen. I would prefer to just switch to the details tab to show the related data but the problem is that I don’t know how to relate the data on the tab to the one I switched from. Hope that makes sense.
E.g.
Project tab - shows a collection of all sub-projects. when selecting a project and selecting a different tab:
Project tasks tab - should show the tasks for the project selected in the project tab.
Project budget tab - should show budget items for the project selected in the project tab.
Relations and other computed columns allow us to access information from other data tables that may not be directly attached to our screen.
You can read more on them here:
And there are some useful videos on youtube for guidance.
Thanks, I’ve watched the relations video multiple times and yes I am able to get the details back, but it will show them on the same tab. I’d like to change the tab to view the details. Hope that clarifies what I’m trying to do.
Cheers!
Is it that you would like to navigate directly to the detail screens? Can you show some screenshots of what you’re hoping for?
It’s hard to imagine what you want. It would be better if you could provide a visualization of your explanation. I assume you want to achieve something similar to the following thread:
ok. I think you are just asking about showing new screens for the data you want. You can create actions for clicking on every project or item to do what you want there.
Sub-Project 1 > show new screen > main screen or current screen > navigate directly to Sub project 1 items
Then set up navigation in a similar way for budget items or tasks.
For it to be successful in the way you imagine, you just need your data to be organized properly within your tables so that you can extract what you need at each level. @ThinhDinh would have shared this video on the subject https://www.youtube.com/watch?v=jgUeOjImOOw
In the editor, from the left-hand-side you can select the component that you want your user to interact with, and in the settings on the right, you can add the action you need - in this case it would be: navigation > show new screen.
Click on the item on your screen to trigger the action and edit the new screen the way you want it.
That is a weird type of navigation for me if you want them on their own tabs. What if I go in and start from scratch, what would I see when I click the Sub-Project, Budget and Tasks tabs? Why don’t you do it on the same tab?
I think I understand what you’re suggesting. I was envisioning the user being able to select a sub project and then using the tabs to see the budget and tasks for that particular project, sort of like an excel workbook with multiple tabs. perhaps that’s not how Glide works and I need to get more familiar with showing a new screen…
I would suggest you going through Glide University to get a better understanding of Glide.
I still think keeping them all like what Sekayi suggested makes for the best user experience.
maybe you can vote here to push forward a similar feature that was requested: Tabbed Container
Just voted! Thanks Sekayi_Liburd, that’s exactly what I was looking for! Too bad it doesn’t exist currently. Thanks too for your kind responses for a newbie!