Is Sorting a cardlayout possible?

I have made an app where dog owners are listed with their dogs.
(We use a WhatsApp group to communicate, but the is the 'Dog-Facebook' so to say.)

See the opening screen in Tablet mode.

RensD_0-1748538171435.png

At the bottom you see me. This zoomed in.

RensD_1-1748538243094.png

You see me there with the dog "Luther" (also nicknamed "Bull")
The problem is.....Luther has passed away and we have a new dog now.
I added the picture of the new dog, but how much I try.....the app keeps showing the old picture.
Yes I can scroll to the right using the arrow button, and there we see Jackson and that is my new dog.

RensD_2-1748538446841.png

The question
How do I sort this so the newest picture is shown first?

-------------------------------

Clicking the entry makes it zoom in.
This looks like the following example.

RensD_3-1748538570638.png
Same issue here. 
The oldest pictures are shown first....and the new picture does not show up at all here. (???)

The question
Why does the new picture not show up here and how do I fix the.
And off cause, how do I sort the pictures that the latest is shown first?

Zoom in
Clicking the 'view' button zooms in on the pictures....and there it is, last picture in the list.

RensD_4-1748538962067.png

There the new picture is shown, but the newest is shown last.
The question
How do I reverse the sorting order?

_________________________________________________________

The tables

RensD_5-1748539085626.png

The "Volgnummer" on row 5 is what I try to use as a sorting value.

RensD_6-1748539211945.png

I tried 'Ascending' and 'Descending' but I see no change.

 

I hope somebody can help please.

 

 

 

 

 

 

0 9 327
9 REPLIES 9

You may use Row Number to sort and select descending in View Options

Sorry.....no effect

Have you tried modifying the inline view of the photos?

I think....THAT is my question.
How can I do that?

RensD_0-1748778836674.png
When I try to go to the edit mode from the AppView, that I can only go to the source of edit the data.

RensD_1-1748778997189.png

 

 

You are editing the wrong view (Fotos_Detail), I recommend you look for the correct view in the left sidebar menu, it should contain the name of the photo table followed by an underscore and Inline.

These are the views I have.
I think it is the correct one.
Which one do you think it should be?

RensD_0-1748815006994.png

And by the way......I tried all views en sorted them by _RowNumber, both Ascending or Descending, all without the desired result.

What do you advice me please?

 

@RensD In the editor, Can you click the Blue View button on far right below the Honden Snuitjies. This will open that related view in full. 

Then screenshot us the View Name appsheet sees associated with it once clicked. 

I assume you parent table is baas, Also please give us the formulae on your baas table for the Virtual column / type list / REF_ROW("table", "Id column")

 

RensD_1-1748778997189.png

โ€ƒ

Screenshot_20250602_072332_com.google.android.googlequicksearchbox_edit_517281227225754.jpg

โ€ƒ

> @RensD In the editor, Can you click the Blue View button on far right below the Honden Snuitjies. This will open that related view in full. 
Okay......I clicked the blue 'view' button.

RensD_1-1748848281304.png``

> Then screenshot us the View Name appsheet sees associated with it once clicked. 

RensD_2-1748848412515.png

It's "Fotos_Detail" in "Fotos_Honden"  (Honden = Dutch for 'Dogs')
There is not really a 'view' for the row of pictures.....at least not that I can find.

> I assume you parent table is baas, Also please give us the formulae on your baas table for the Virtual column / type list / REF_ROW("table", "Id column")

No, the parent table is 'Leden'. (Leden = Dutch for 'Members')
The table 'Fotos_Baasjes' is the same construct like 'Fotos_Honden'.
(Baasjes = Dutch for 'Dog owners'.)
(So we have pictures of the dog owners (baasjes) and pictures of the dogs (honden).)

I guess you want the connection between 'Leden' and 'Fotos_Honden' and maybe also the connection with 'Fotos_Baasjes'.

RensD_4-1748850534834.png

What else information can I give you?




 

Thank you, that helped alot. 

As you can see when you opened the Blue View button it showed the following, "gallery" as view name.

This seems to be a default view it uses as you officially don't have an inline view present, perhaps deleted at some point. It should have been under system generated views as "Fotos_Honden Inline" as Kabuliรฑo mentioned. This would need to be created manually again I beleive.

Create another view with name "Fotos_Honden Inline" set to Fotos_Honden table as source. Set type of view as gallery or card view, position as a ref view, not menu or anything else, it an stay hidden from menu as it's only a ref view and then define sort order using your volgorder column there and make sure image is set, etc and save. 

Generally if you set no sort order column, it will default to latest created record, but your volgorder column makes it always obey. 

See if when you go click that blue view button it must show the view name as the one we created instead of "gallery"  in the image below. 

 

Screenshot_20250602_101048.jpg

โ€ƒ

 

Top Labels in this Space