Hi everyone
I'm having some problems right now.
1. I'm currently using Strature to populate a table and display it.
When sorting, only one page of records is sorted, which is a problem.
Is there a way to sort all the records in the list?
2. I also want to filter and narrow down.
(For example, put 10 records and only 1~3 of No.
3. The reason why we are using Stracture in the first place is that if we use the DB and perform operations at the same time, there is a problem that conflicts will occur.
Is there a good way to solve it?
If you have any good ideas, please let me know.
Keep the oml attached
Hi @kazuma yamagataFollowing link might help https://www.outsystems.com/forge/Component_Overview.aspx?ProjectId=22https://www.outsystems.com/forums/discussion/36902/local-structure-list-navigation-and-sorting/https://www.outsystems.com/forums/discussion/79560/how-to-sort-structure-column-using-list-sortcolumn/Regards Asad
Hi Kazuma,
To achieve the desired functionality, you just need to make a minor modification in the Sort Button Onclick event screen action flow as highlighted below.
Instead of referring to the sumimasen local list variable, use the temp_sumimasen local list variable in the ListSort client action. The reason behind this change is that according to the PaginationOnNavigate screen action flow logic, the sumimasen local list variable will only contain a maximum of 5 records (maxrecord) at any given instance.
Demo app: Screen3
Refer to the attached oml.
I hope this helps you!
Kind regards,
Benjith Sam
Hi Sam!
Thank you for continuing yesterday!
I would be very happy if you could continue to answer your questions.
My question is, why use temp_sumimasen local variables in ListSort?
I'm still not very sure about the need for temp_sumimasen local variables, so I'd like you to tell me.
Also, I haven't used the list filter function very often.
Can you tell me how to use it on this table?
I'm sorry, but thank you.
Kazuma
Apologies for the delayed response. Refer to the following reply addressing your concerns.
Why use temp_sumimasen local variables in ListSort?