Question

How to allow reordering and grouping in a table

Hi All,

I'm dealing with a requirement where it's needed all the cases to be displayed in an ordered list. The order of each item should be displayed on the screen in a separate column.

The users should have the option to reorder the list and the new order should be kept, regardless of the user that is logged in. (Example: User 1 reorders the list and saves, User 2 logs in Pega and sees the order User 1 has set)

Also, the details should be grouped by the status column, so I excluded the source for the table to be a data page, as I did not see the option to group the items there.

I'm able to get the grouped view thru a table sourced by a report, however what do I need to do in order to get the order column updated after the users reorder the list?

If further details on this requirement are needed, please let me know.

Kind Regards,

Petar Hr.

Comments

Keep up to date on this post and subscribe to comments

Pega
October 15, 2019 - 11:34am

we can allow reodering from operation tab of table. 

You can use OOTB save action on button to save it.  If you want save reordering for users then source should be pagelist. If source is data page , when you log in again data page will be loaded again and reordering will be lost.

 

October 16, 2019 - 2:18am

Hi Khamd, 

I've already tried this but it's not giving the result that is needed. 

Row reordering should be kept and the source is a report definition as I need the grouping of the items as well. 

Kind Regards, 

Petar Hr.

October 16, 2019 - 2:20am

The solution that I'm searching for is something similiar to the Rank implemented in Agile Studio for user stories in a sprint. 

There the table is drag & drop and the rank is updated upon row reordering. I've tried to decompose that implementation but without success. 

If someone has faced such a requirement before or was able to reproduce the solution from Agile studio, guidance will be highly appreciated. 

Kind Regards, 

Petar Hr.