Method to load the Sortable script and make table sortable
static void
sortable
(string $tableId, string $formId, [string $sortDir = 'asc'], string $saveOrderingUrl, [boolean $proceedSaveOrderButton = true], [boolean $nestedList = false])
-
string
$tableId: DOM id of the table
-
string
$formId: DOM id of the form
-
string
$sortDir: Sort direction
-
string
$saveOrderingUrl: Save ordering url, ajax-load after an item dropped
-
boolean
$proceedSaveOrderButton: Set whether a save order button is displayed
-
boolean
$nestedList: Set whether the list is a nested list