61
Views
6
Comments
Solved
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

2019-07-01 07-16-04
Vinod Patidar
Solution

Hi Shriyash,

Please find the attached sample OML. 

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

Thanks

Vinod



SortSample.oml
UserImage.jpg
Accelance Partners

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

2020-01-08 08-43-00
Rahul Kumar
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
UserImage.jpg
Accelance Partners

Thanks, Rahul Kumar .

UserImage.jpg
Accelance Partners

Thanks for your approach Khuong Truong,


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

2019-07-01 07-16-04
Vinod Patidar
Solution

Hi Shriyash,

Please find the attached sample OML. 

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

Thanks

Vinod



SortSample.oml
UserImage.jpg
Accelance Partners

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

2020-01-08 08-43-00
Rahul Kumar
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
UserImage.jpg
Accelance Partners

Thanks, Rahul Kumar .

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