dual-listbox

Formset module Contains logic for generating django formsets

dual-listbox~DualListbox

Dual select interface allowing the user to select items from a list of provided options.

Kind: inner class of dual-listbox

dualListbox.setDefaults()

Sets the default values that can be overwritten.

Kind: instance method of DualListbox

dualListbox.addEventListener(eventName, callback)

Add eventListener to the dualListbox element.

Kind: instance method of DualListbox

Param Type
eventName String
callback function

dualListbox.addSelected(listItem)

Add the listItem to the selected list.

Kind: instance method of DualListbox

Param Type
listItem NodeElement

dualListbox.redraw()

Redraws the Dual listbox content

Kind: instance method of DualListbox

dualListbox.removeSelected(listItem)

Removes the listItem from the selected list.

Kind: instance method of DualListbox

Param Type
listItem NodeElement

dualListbox.searchLists(searchString, dualListbox)

Filters the listboxes with the given searchString.

Kind: instance method of DualListbox

Param Type
searchString Object
dualListbox

dualListbox.updateAvailableListbox()

Update the elements in the available listbox;

Kind: instance method of DualListbox

dualListbox.updateSelectedListbox()

Update the elements in the selected listbox;

Kind: instance method of DualListbox

dualListbox._actionAllSelected()

Action to set all listItems to selected.

Kind: instance method of DualListbox

dualListbox._updateListbox()

Update the elements in the listbox;

Kind: instance method of DualListbox

dualListbox._actionItemSelected()

Action to set one listItem to selected.

Kind: instance method of DualListbox

dualListbox._actionAllDeselected()

Action to set all listItems to available.

Kind: instance method of DualListbox

dualListbox._actionItemDeselected()

Action to set one listItem to available.

Kind: instance method of DualListbox

dualListbox._actionItemDoubleClick()

Action when double clicked on a listItem.

Kind: instance method of DualListbox

dualListbox._actionItemClick()

Action when single clicked on a listItem.

Kind: instance method of DualListbox

dualListbox._addButtonActions()

Adds the actions to the buttons that are created.

Kind: instance method of DualListbox

dualListbox._addClickActions(listItem)

Adds the click items to the listItem.

Kind: instance method of DualListbox

Param Type
listItem Object

dualListbox._createList()

Creates list with the header.

Kind: instance method of DualListbox

dualListbox._createButtons()

Creates the buttons to add/remove the selected item.

Kind: instance method of DualListbox