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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Infotable sort function case sensitive

nparikh
2-Explorer

Infotable sort function case sensitive

Hello,

Infotable sort function returns case sensitive result when sorted on column which has string data type.

var params = { sortColumn: "column1", t: "myinfotable", ascending: true };

var result = Resources["InfoTableFunctions"].Sort(params);

Is there a way to sort infotable keeping sort type case insensitive ? or work around ?

Thingworx version - Thingworx v 7.2.6-b76

ACCEPTED SOLUTION

Accepted Solutions

Create a new column with Derive snippet where you set it to fieldName.toLowerCase() and sort by this column.

View solution in original post

1 REPLY 1

Create a new column with Derive snippet where you set it to fieldName.toLowerCase() and sort by this column.

Announcements


Top Tags