cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

how to sort hyperlink values in thingworx's grid?

Hrishabh.Sharma
12-Amethyst

how to sort hyperlink values in thingworx's grid?

Hrishab108_1-1705564303058.png

 

ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

5 REPLIES 5

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

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

 

 

Thanks for your response.
Its good @bchaudhary 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

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

Announcements


Top Tags