Anyone tried adding new dynamic component on top of already existing?

Hi Coders,
Have anyone attempted or was successful in getting the new dynamic component placed on top of the all previous ones.

Here is my scenario:

  1. I have one vertical scroll arrangement which will hold all the dynamic card components.
  2. At the beginning of the screen, I am fetching some data from the DB and creating dynamic cards which I can get in any order using the SQL query.
  3. After some time, I am checking again if any new record exists, if so then I want to put a new card at the top of the existing cards?

So far I know to put a dynamic card at the bottom of existing components by providing a unique ID.

1 Like

Please provide more information.

1 Like

I think he want list of cards and when list is updated then new item will display on top…
May be I’m right…

Yeah absolutely.

So when list is updated, i don’t want to delete existing and add from scratch. Instead just want new one to be appended on top as the latest.

Just follow below steps to do that…

There will be 2 VA…
VA1 and inside it VA2…
Create old list in VA1 (it will go below VA2 automatically) and after creating it you can use VA2 to create new updated list in VA2…

So now your updated list will be at top…

Okay that’s a good way. Let me try.

Thanks

Okay try it and inform us…