Forum Discussion

skoleva's avatar
skoleva
Ideator I
3 years ago

Disable sorting in relationship grid

Hello community, 

Does anybody know if it's possible to disable the sorting of a few columns in a relationship grid? 

My guess is that the change should be done somewhere in the CodeTree, but I'm not sure where.

Thank you in advance.

5 Replies

  • Have you checked the "Order By" settings of the affected Properties in the ItemType definition? Just remove the Order By value should exclude the sorting for the affected columns.

    Edit: If you don´t see any "Order By" values, check if you have Server Method that is used for sorting. That´s a common trick to achieve descending sorting...

    • skoleva's avatar
      skoleva
      Ideator I

      Hello Angela,

      None of the columns have an "Order By" value. I checked also for a method which sorts/disables sort but I didn't find any.

      • AngelaIp's avatar
        AngelaIp
        Ideator I

        If you have a regular relationship, check the related ItemType AND the relationship ItemType for any settings regarding sorting.

        If a custom sorting is present, you normally see it due to the arrow in the header column.

        If you don´t have this one -> by default Aras sorts by id (or native sorting in sql database), which can lead to mixed up data by default.