Sorted column not removing after page refreshed

Sorted column not removing after page refreshed

  
Hi,

I have applied sorting to a list. When I sort column values and then I refreshed page column still highlighted.Actually sorting removed from table.

I have attached two screen shots which shows after page refreshed column still highlighted.
Hi,

Can you please send the module you are working on, so that we can have a better look to what is causing the problem? You can attach it in a reply to this message.

Best regards,
Jorge Costa
Hi
Sorry but i cant sent module file.I have used follwing function for sorting
List_SortColumn_GetOrderBy()
Initially I have provide Account name column for sorting.
Not sure what went wrong in the first place.

when you scaffold an entity, you get automatic sorting in the first place.
so check differences with your own code and the the scaffolded page/sorting.

Solution
Hi, 

If the problem is that after refreshing, the table is still sorted by the previous column you selected, that is because the List_SortColumn widget uses Session Variables. So, when you refresh, the sort is kept and you still see the same column highlighted. If you have other columns with the Sort Widget, then you just have to select them to sort the table by the content of those columns.

If the problem is related to the sorting not working properly, the following links may help you:
Help: http://www.outsystems.com/help/servicestudio/9.1/index.htm#t=Using_Data%2Faggregates%2FSorting_Results.htm
Forum Post: http://www.outsystems.com/forums/discussion/6120/richwidgets-list-sortcolumn-instructions/
Video: http://www.outsystems.com/academy/11/1690/598/sort-columns-in-a-list/
 
Best regards,
Jorge Costa

Solution
Hi,

Thanks to all for your valuable reply.


Thanks and Regards
 Pradip Chavhan