class JHtmlSortablelist

HTML utility class for creating a sortable table list

Methods

static  void
sortable( string $tableId, string $formId, string $sortDir = 'asc', string $saveOrderingUrl = null, boolean $proceedSaveOrderButton = true, boolean $nestedList = false)

Method to load the Sortable script and make table sortable

static  void
_proceedSaveOrderButton()

Method to inject script for enabled and disable Save order button when changing value of ordering input boxes

Details

static void sortable( string $tableId, string $formId, string $sortDir = 'asc', string $saveOrderingUrl = null, boolean $proceedSaveOrderButton = true, boolean $nestedList = false)

Method to load the Sortable script and make table sortable

Parameters

string $tableId DOM id of the table
string $formId DOM id of the form
string $sortDir Sort direction
string $saveOrderingUrl Save ordering url, ajax-load after an item dropped
boolean $proceedSaveOrderButton Set whether a save order button is displayed
boolean $nestedList Set whether the list is a nested list

Return Value

void

Exceptions

InvalidArgumentException

static void _proceedSaveOrderButton()

Method to inject script for enabled and disable Save order button when changing value of ordering input boxes

Return Value

void