It would be convenient to be able to sort a model by a specific field using the actions framework.
Page 1 / 1
You can run a one-line snippet, like so:
skuid.$M('MyModel').orderByClause = 'Date__c DESC';
That’ll work! Thanks
Matt, thanks for sharing that awesome snippet!
Raymond, I will mark this as an idea for our developers to consider for future releases.
Thanks!
Karen
What am I missing to make this work?
I don’t see anything wrong with the snippet. Make sure all your names are correct. I can’t remember if you have to requery after the snippet. Give that a try.
Doh, I was missing the follow-up query action. Thanks!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.