Skip to main content
Oct 1, 2021 6:55 AM UTC
Solved

How we can set sort mode enable in grid

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.

TonyZhangAnswer
Oct 9, 2021 7:59 AM UTC

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

TonyZhangAnswer
Oct 9, 2021 7:59 AM UTC

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