IBM Support

How to activate server or client side sorting for paginated screen.

Question & Answer


Question

How to activate server or client side sorting for paginated screen.

Answer

By default before HF 55 only server side sorting was present in paginated screens.

Server side sorting does not always cater to to the business requirement, client side sorting is the concept where data is fetched and shown in the screen and on sorting again data is fetched and arranged on the screen.

The problem here is that on each sorting action new data appears and it does t appears like sorted.

To enhance pagination behavior,server side sorting is introduced in the application in HF 55.

However on applying HF 55, server side sorting will not activate by default, following steps are required to activate the same.

Since now application supports server side as well client side sorting for paginated screens, it means that we have to somewhere activate the sorting modes.

In the Web.xml file find below given snippet and edit to get client side sorting.

For :"pagination-sorting-type" give value as server or client as per requirement.

</context-param>
- <context-param>
<param-name>sc-ui-pagination-sorting-type</param-name>
<param-value>server</param-value>
</context-param>
- <filter
Basically edit your web.xml by changing param-value from server to client.

NOTE::For client side sorting there is no need to edit the jsp screens by adding order by components which are required in server side sorting.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

HTG2636

Document Information

Modified date:
16 June 2018

UID

swg21563868