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
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- redundant
string
Not used- nestedList
bool
Set 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>