After grouping by and limiting to x items, after pressing the âsee allâ , the format is not kept .
So I have cards and after âsee allâ a list appears.
It should keep cards as first items shown.
Isnt it easier to classify it âunassignedâ or something else yourself?
Sure. Could do that, but feels wrong that some items are missing. This is not a filter after all?
Well, if you can solve a problem yourself, why not
Is there a way to sort the grouping labels? I created Group A and Group B, but group B shows up above group A, which isnât helpful. My groups need to be sorted in alphabetical order, or by an order I determine.
Hi @Jeremy_P I agree there is a small niggle here. To sort the group headings you need to sort the list but that field, but then of course the contents of each group may not be sorted the way that you want. But, if you sort the list the way that you want, then the headings will be sorted based on the list sort if that makes sense. I think that the Glide Team need to make a little tweak to the functionality to address this. Additionally, as noted previously, beware of missing entries if they donât fall into any of your group categories - they simply wonât show up as there is no âunassigned potâ.
You could probably create a template column with the grouping column and the column you really want to sort by, joined together. Set your grouping column for the groups and the template column for the sort.
Thatâs an interesting approach. May just try that one. Probably a template named âSortKeyâ or something similar.
I just realized today that Grouping can make a really nice Calendar list replacement with a lot more customization. Havenât done it yet, but thought Iâd share.
Great idea thanks
Thanks for raising this question. I would like to know how the groups are being sorted as well so that I can customize the order of the grouping. Itâd be great if Grouping had itâs own Sorting component option!
@Ed_Chao - Good question! I think that the list is sorted based on the standard list sort and then whatever group the first item belongs in appears at the top, but I canât be 100% certain.
@Jeff_Hager Iâve been doing this a lot and my users love it:
Looks great
@Rosewebstudio. Thanks. Only issue Iâve found is that you need to create the Date column in the Google sheet rather than the Glide Data Editor in order for it to format correctly.
My dates usually come from a form submission where I use a âspecial columnâ to capture the timestamps of the submission. I then want to group them in the UI.
I have also grouped successfully using âtodayâ,âyesterdayâ,âprevious 7 daysâ, âprevious 30 daysâ and âolderâ. For this I use the Google sheet again with its ability to calculate days between ânowâ and the submission timestamp. My users love this too.
Good to note, thanks
I started playing with this a little bit yesterday. I didnât need to do a formula in the sheet to format the date. Instead I just set the formatting in the date column and created a template column to âlock inâ the date that was formatted within Glide. The template is what I use for grouping. I think the underlying issue is that the grouping will still actually use the underlying timestamp value, so if the days match, but the times donât exactly match, then they are grouped separately. I did however still need a formula in the sheet to duplicate the date column, so I could have a separate column that I can format in Glide to only displays the time.
Hereâs what I have for a quick test so far.
@Ed_Chao I agree with @V88 that the groups appear in the order that your sheet is sorted.
As I mentioned in this post, if you need to sort the group, as well as another column value, then you could create a template with both values. Use the template for sorting and the group column for grouping.
This isnât necessary for you, but for me I need the groups in a specific order thatâs not alphabetical. I have another sheet that contains the groups and their order number. I use relations and lookups to get the sort order number and I use that to build my sort order template column. Itâs still grouped by the text, but the whole sheet is sorted by the template column, which contains numbers.
Thanks for your help on this here:
Canât you group alphabetically by the category that your grouping by?