Sorting Not Working in Web Service backed Record

Hi All,

I am Unable to do Sorting on Columns in Records Data Source is Webservice (Using an Expression rule to fetch The Data).

Sort Column is already added in Grid Section of Record.

Also i have Tried initial and Secondary Sort option availble in Record Section .

Secondary Sort:

{

a!sortInfo(
field: OneDate
ascending: false()
),
a!sortInfo(
field: twoDate
ascending: false()
)
}

Initial Sort:

 a!sortInfo(
field: dateField
ascending: false()
)

Its Working only when record Loads for First time

For next time when we click on column it is not working.

 

Thanks in Advance!!

  Discussion posts and replies are publicly visible

Parents Reply
  • Hi Stefan,

    We are not using any External System to fetch data.

    Data is fetch from local Database but for applying rules we are using an expression rule as data source instead of data store entity.(So data Source is Selected as Webservice)

    in the rule we are casting the data to data subset. only the sort applied in a!datasubset() is working that to at initial Record load.

    is it possible to have sorting on all the columns by clicking on the columns in records?

    Thank you.

Children