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