DraggableList

HTML utility class for creating a sortable table list

abstract
since

4.0.0

package

Joomla CMS

Methods

draggable

Method to load the Dragula script and make table sortable

draggable( tableId = '',  formId = '',  sortDir = 'asc',  saveOrderingUrl = '',  redundant = null,  nestedList = false) : 
static
since

4.0.0

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

redundant

stringNot used

nestedList

boolSet whether the list is a nested list

Response

void

Properties

loaded

Array containing information for loaded files

static
since

4.0.0

Type(s)

array<string|int, mixed>