Skip to main content
Best answer by GuillaumeL

Hello,

In latest version of ThingWorx you can configure the column and set this property that would to the trick:

GuillaumeLaroch_0-1706001238929.png

If you don't have this option in your current version, you may need to introduce a new column without any link (just the value) and trick the system to sort on this one. But this solution depends if you are sorting on server side or on client side.

Rgds,

Guillaume

3 replies

24-Ruby III
January 18, 2024
13-Aquamarine
January 18, 2024

Hello @VladimirN,
I'm talking about HyperLink columns not normals col.
Thank you for your response.
BR,
Hrishabh

5-Regular Member
January 18, 2024

Hello @Hrishabh.Sharma ,

 

To achieve the sorting in Grid, do the following: The Grid generates a Query object that contains the desired sorting, but then you need to pass this value to a service which performs the actual sorting. In order to add a parameter type Query, to which you have to bind the Query generated by the grid.  Thenafter, in your service code you need to sort the infotable.

 

You can refer to the help center guide for sorting and filtering: https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Mashup_Builder/Widgets/SortingSearchingAndFilteringInAdvancedGridAndTreeGrid.html

 

Pls let me know if it helps.

Regards

Bhawna

 

 

13-Aquamarine
January 18, 2024

Thanks for your response.
Its good @bchaudhary_448008 but this is for normal sorting over columns,
there is a columns, which have hyperlink, but i want to sort that.
is it possible?

BR,
Hrishabh Sharma

14-Alexandrite
January 23, 2024

Hello,

In latest version of ThingWorx you can configure the column and set this property that would to the trick:

GuillaumeLaroch_0-1706001238929.png

If you don't have this option in your current version, you may need to introduce a new column without any link (just the value) and trick the system to sort on this one. But this solution depends if you are sorting on server side or on client side.

Rgds,

Guillaume