Skip to main content
14-Alexandrite
October 1, 2021
Solved

How we can set sort mode enable in grid

  • October 1, 2021
  • 1 reply
  • 1360 views

Hi Developers,

 

I'd like to set sortable grid, so I checked "EnableSorting" but it doesn't work.

Could you tell me on how to configure the grid.

Best answer by TonyZhang

Hi @Yoshihiko.N,

 

Apart from checking EnableSorting, you also need to bind Filter event and QueryFilter property of the Grid widget to the Data Source Service in order to make the sort function work.

Check out this article for more information: https://www.ptc.com/en/support/article/CS341658

 

1 reply

TonyZhangCommunity ManagerAnswer
Support
October 9, 2021

Hi @Yoshihiko.N,

 

Apart from checking EnableSorting, you also need to bind Filter event and QueryFilter property of the Grid widget to the Data Source Service in order to make the sort function work.

Check out this article for more information: https://www.ptc.com/en/support/article/CS341658