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

\InvalidArgumentException

Arguments

$tableId

stringDOM id of the table

$formId

stringDOM id of the form

$sortDir

stringSort direction

$saveOrderingUrl

stringSave ordering url, ajax-load after an item dropped

$proceedSaveOrderButton

booleanSet whether a save order button is displayed

$nestedList

booleanSet whether the list is a nested list

Properties

loaded

Array containing information for loaded files

static
since

3.0

Type(s)

array