Skip to content

Instantly share code, notes, and snippets.

@aklef
Last active August 10, 2016 19:39
Show Gist options
  • Save aklef/439781c895f1992202e4c9637afc12ba to your computer and use it in GitHub Desktop.
Save aklef/439781c895f1992202e4c9637afc12ba to your computer and use it in GitHub Desktop.
Sortable Skuid tables! ~~~~ Child page invokation snippet! Master page snippet here: https://gist.github.com/aklef/10f96f33903af2c2d5d4c2074ac60a3d
(function(skuid)
{
'use strict';
var sortable = skuid.snippet.getSnippet('sortable'),
tableId = 'sk-39dlIj-483',
orderByFieldApiName = 'Sprint_Rank__c',
spinnerURL = ''; // will use default
// sortable(arguments[0].something..., orderByFieldApiName, spinnerURL); // could call from AF and get context as argument....
sortable(tableId, orderByFieldApiName, spinnerURL);
})(skuid);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment