Skip to main content
16-Pearl
June 26, 2019
Question

Sorting Infotable Columns with Advanced Grid

  • June 26, 2019
  • 1 reply
  • 1321 views

I read the advanced grid widget extension documentation and also the other post...

https://community.ptc.com/t5/ThingWorx-Developers/Grid-Widgets/m-p/578640 

but can't seem to figure out how to get sorting to work with an advanced grid.  

What am I doing wrong?  I am trying to sort an infotable and not a datatable. 

Please see the bindings below:

 

Thingworx - Sorting with Advanced Grid - 2019-06-25.png

1 reply

20-Turquoise
June 27, 2019

Have you enabled  the "enableSorting" property on the Advanced Grid?

Willie16-PearlAuthor
16-Pearl
June 27, 2019
Yes, I had to enable it in order to bind QueryFilter to input parameter query. Before binding the widget to the Query service, I had Advanced Grid 3.0.2 and the widget was bound directly to the service output providing the infotable. When I upgraded to the latest Advanced Grid widget 4.2., I did not delete the grid, do I need to delete the grid and start a new grid? I am on Thingworx 8.4.1 so the new grid widget should be compatible.