Question

Getting sort column on current grid

Hello,

I am looking for a way to:

1)Determine if a user has applied sorting and get the name of the  sort column from the grid on a section list page.

2)When sort is applied, an event needs to execute to save the sort column somewhere so that we can use this column to sort when queries are run for this object data in other sections.

Are there any ways to do accomplish this?

 

Like 0

Like

3 comments

Hello,



Could you please describe the business logic you want to implement in more detail? 

Here is the business logic:

There is a detail area on a section page that contains a list of activities that a user should complete. Once they open the first activity and complete it, they need to click a button to save the completed activity and also need to be redirected to the next activity in their list. The activity list in the detail however could be sorted in any way based on the user preference, so we need a way to know what sort is currently applied, and then use that sort to retrieve the next activity in the list, and then open the activity page for the next activity.

 

Hello!



The following articles should be useful in completing the task:

https://community.creatio.com/questions/enable-default-sort-detail-load…

https://community.creatio.com/questions/sort-detail-page-load



Best regards,

Alona

Show all comments