sort table records (Asc and Desc) format
Application Type
Reactive

HI,


I want to sort table records (Asc and Desc) format, what will be the good approach to do this?

The functionality is - when clicking on New-To-Old it will show the latest data first and similarly for old.

I am using the Navigation/Submenu widget.


Thanks 

Shriyash

Hi Shriyash,

Please find the attached sample OML. 

https://personal-r5hrdvm3.outsystemscloud.com/SortSample/Home

Thanks

Vinod



SortSample.oml

Thank you so much, Vinod Patidar . It was helpful.

Champion
Solution

Hi SD,

Please check - Sample Screen 

At click of submenu item you just need to assign  "Attribute name DESC" for New To Old  and "Atribute name" for Old to new in TableSort variable.

e.g- Attribute name will be CreatedOn

Find the attached OML


Thanks

ASC_DSC.oml

Thanks, Rahul Kumar .

Thanks for your approach Khuong Truong,


But, I want to implement that functionality using the "Submenu widget" Only.

Hi Shriyash,

Please find the attached sample OML. 

https://personal-r5hrdvm3.outsystemscloud.com/SortSample/Home

Thanks

Vinod



SortSample.oml

Thank you so much, Vinod Patidar . It was helpful.

Champion
Solution

Hi SD,

Please check - Sample Screen 

At click of submenu item you just need to assign  "Attribute name DESC" for New To Old  and "Atribute name" for Old to new in TableSort variable.

e.g- Attribute name will be CreatedOn

Find the attached OML


Thanks

ASC_DSC.oml

Thanks, Rahul Kumar .

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.