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

Ordering a List

SOLVED
tcain
Newbie

Ordering a List

Is there any way to order a list of things? I have all of these items that the list could be sorted by, but I cannot find a way to sort it in any manner.

Thanks,

Toby

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Ordering a List

There is a snippet for this called "Sort":

var sort = new Object();

sort.name = yourFieldName;

sort.ascending = booleanValue;

yourInfoTable.Sort(sort);

I hope this helps!

View solution in original post

1 REPLY 1

Re: Ordering a List

There is a snippet for this called "Sort":

var sort = new Object();

sort.name = yourFieldName;

sort.ascending = booleanValue;

yourInfoTable.Sort(sort);

I hope this helps!

View solution in original post

Announcements

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.