Module: selectActions_js

Methods

(inner) addSelectActionButton(el, cmd, text) → {void}

Adds a button to the select action dropdown
Parameters:
Name Type Description
el HTMLElement element to append the buttons
cmd object button cmd
text string button text
Source:
Returns:
Type
void

(inner) addSelectActionButtons(el, dropdownId) → {void}

Adds the select action buttons
Parameters:
Name Type Description
el HTMLElement element to append the buttons
dropdownId string dropdown id to append the buttons
Source:
Returns:
Type
void

(inner) execSelectAction(type, action) → {void}

Handles the selection actions
Parameters:
Name Type Description
type string entity type
action string action to handle
Source:
Returns:
Type
void

(inner) getSelectionData(parent, attribute) → {Array}

Returns an array of all selected rows/grids attribute
Parameters:
Name Type Description
parent HTMLElement table or grid element
attribute string attribute name
Source:
Returns:
list of attribute values of selected rows
Type
Array

(inner) initSelectActions() → {void}

Initializes the select action dropdowns
Source:
Returns:
Type
void