Hi all… I have added several snippets to change the sort order of a model … eg by a date field
var params = argumentse0],
$ = skuid.$;
skuid.$M(‘VisitsbyDate’).orderByClause = ‘sales_activ__Scheduled_Date__c ASC’;
and they work on the salesforce app (formerly salesforce one) but not in my browser (chrome)??
Any ideas?
Page 1 / 1
David,
Are you following this script with a Query model action? The snippet is changing the sort order but does not show you loading the model with the changed sort order. You can add this to your snippet-> skuid.$M(‘Task’).load() to (re)load the model immediately.
Also, if you are on Skuid Millau, you can add an Action step Sort Model to do this declaratively.
Thanks,
Bill
Thanks Bill… i totally missed that new Action and that has made it a lot easier!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.