Hey all!
I found a super streamlined way to filter an inline list using multi-select choice components.
Take a look!
I found a super streamlined way to filter an inline list using multi-select choice components.
Take a look!
Nice!.. I would add an option to select all, so they donât need to unclick selections⊠and that would come as a selected option when you enter that screenâŠ
That would be slick (and preferred), but to my knowledge thereâs no way to auto select an item in a choice component upon switching tabsâŠonly when diving into a details screen from an inline list or via button press etc.
The way Iâve âsolvedâ this is to force the user to tap a button the first time they view the tab.
This sets the default, and from that point forward there is always a value set, so the next time they return to the tab theyâll see whatever option they had selected the previous time.
@Robert_Petitto of course there isâŠ
simply if-else it for an empty value and replace by default value and like Daren said you can use action when entering that screenâŠ
also in choice values, you can use empty value and assign default to it
yes, but that doesnât actually set the value in the choice list. So even though you might have a default selected in the backend, the choice component wonât reflect that. ie. itâll still appear as though no option is selected.
you can use empty as a value and assign default to it⊠but it will not show the option clicked as @Darren_Murphy mentioned you have to use previous steps to set column for default⊠and if you wanna show as clicked⊠use a PRO choice component LOL, created from tiles
@Darren_Murphy @Robert_Petitto one-day three of us should join forces on some great project lol
Hey, yes itâs great.
And if you want to add a âdynamic sortâ dimension to your filtering.
Approach:
Dataeditor -
1/ [data sheet] List of criteria to âgroup byâ (1 column)
2/ [content sheet] User specific which will receive the choice of âgroup byâ
3/ [content sheet] Single value (select âfirstâ) on the user specific
4/ [content sheet] If-then-else to match the Single value by each value (entered manually) of the List of criteria (attention : if the [datalist] criteria are changed, even in orthograph, the change must be also done in this if-then-else â alternative: the list of criteria is 1, 2, 3, x, and a relation/lookup deals with it in the [content sheet])
Databuilder:
1/ Choice component with source [data sheet / list of criteria] and destination [content sheet / user specific]
2/ Group-by the inline list by the if-then-else of the [content sheet]
With apologies to @Robert_Petitto for hijacking his topic, how aboutâŠ
âŠa single component to control both the list layout and the list ordering?
The two âbuttonsâ on the left toggle between vertical and horizontal orientation, and the two buttons on the right toggle between newest first and most liked first
Hey Darren I have been trying to figure out how to do this calendar for ages. Would this template be available to copy, or can you do a bit of a setup walkthrough?
What I showed there isnât actually a calendar, itâs just a method of navigation. Can you describe what you are trying to do?
excelente estoy nuevo en glide y ya cree una aplicaciĂłn y estaba pensando como hacer este tipo de lista y me gustaria implementarla en mi aplicaciĂłn ya que tengo una secciĂłn de productos en la aplicaciĂłn y estarĂa genial tener este tipo de lista en la secciĂłn de productos agradecerĂa una explicaciĂłn mas detallada para lograrlo en mi pestaña de productos hay les enviĂł una foto de como esta hasta el momento en mi aplicaciĂłn
Just with that calendar setup i saw in your project management app.
Ideally, i would like a horizontal scroller that side swipes through dates and when you pick a date the inline list below shows items with a matching date.
But what you had in that app looked perfect.
Are you referring to this?
The screen itself sits on top of a single row helper table, and everything is user specific.
There is a bunch of Glide date math and other logic that controls the flow. Not simple to setup, and not easy to explain.
This is the one that i wish to replicate
arr, okay.
As I said, there is really no easy way to explain that except in a generic way. If you know how to configure an Inline List to work like a choice component, then that would be a good start. Then itâs mostly a matter of taking the values from the list and the choice component and using them together to figure out the correct date. And then using that as a filter. When you boil it down, thatâs really all it is - but obviously the devil is in the details. And the details will change for every application. It depends how your data is setup, and the exact behaviour you are looking to achieve. I canât really be any more specific than that, sorry.
I understand what you mean. Ive configured the list in a similar way before. But like you say it will be a matter of the details for the design. Is that particular app a template i could download?
Sorry, no. That was for a client, so it canât be shared.
If you start building something similar and get stuck, feel free to ask and Iâll help if I can. If you do, probably best to start a new topic.
excelente solo que no logro sincronizar el choice compone con la lista en linea seria bueno indicarlo en el proximo tutorial en especial para los que somos nuevos en glide muchas gracias