JHtmlSortablelist
HTML utility class for creating a sortable table list
abstract
since |
3.0 |
---|---|
package |
Joomla.Libraries |
Methods
_proceedSaveOrderButton
Method to inject script for enabled and disable Save order button when changing value of ordering input boxes
_proceedSaveOrderButton() : void
static deprecated
since |
3.0 |
---|---|
deprecated |
4.0 The logic is merged in the JLayout file |
sortable
Method to load the Sortable script and make table sortable
sortable(string $tableId, string $formId, string $sortDir = 'asc', string $saveOrderingUrl = null, boolean $proceedSaveOrderButton = true, boolean $nestedList = false) : void
static
since |
3.0 |
---|---|
throws |
|
Arguments
- $tableId
string
DOM id of the table- $formId
string
DOM id of the form- $sortDir
string
Sort direction- $saveOrderingUrl
string
Save ordering url, ajax-load after an item dropped- $proceedSaveOrderButton
boolean
Set whether a save order button is displayed- $nestedList
boolean
Set whether the list is a nested list
Properties
loaded
Array containing information for loaded files
static
since |
3.0 |
---|
Type(s)
array