Icon Changes Based On The Sort (ASC or DESC)

Hi All

I am Using   List_SortColumn  once i click on the title of the column it sort ASC or DESC.

What i want is:-

1) once i click Ascending it should show (arrow down) and hiding the (arrow up). 

2) once i click Descending is should show (arrow up) and hiding the (arrow down). 


If i use  IF Condition what Should i use in the condition.

Note:

The Icon should not be clickable.

Regards

Hind Ahmed 


hi hind,

you may use "Sortable Icons " component ..in this you dont need to right any condition for icon .

https://www.outsystems.com/forge/989/

It simple to use .

Cheers,

Rocky

Rocky wrote:

hi hind,

you may use "Sortable Icons " component ..in this you dont need to right any condition for icon .

https://www.outsystems.com/forge/989/

It simple to use .

Cheers,

Rocky

hi Rocky

I install it but then how can i use this components ?!

Regards

Hind Ahmed


Hi Hind,

Just Drag and drop the ShowSortTableIcons on first column of your grid.

Cheers,

Rocky

Rocky wrote:

Hi Hind,

Just Drag and drop the ShowSortTableIcons on first column of your grid.

Cheers,

Rocky

Thanks Rocky .... It worked, i appreciate your help

Regards

Hind Ahmed


You are alway welcome Hind.Please mark it as solution so that it will helpful for other developer.

Cheer,

Rocky

Hi, I'm doing the same thing i.e. placing the sortable_icons in the first cell in the header of the table but its not working.

I've used List_sortColumn on every column of my table.

Sorting is working fine but the icons are not changing.


Can you please help?