core_table/dynamic

Module to handle dynamic table features.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Members

(static, constant) getFilters

Source:

Get the filter data for the specified table.

(static, constant) getFirstInitial

Source:

Get the current first initial filter.

(static, constant) getLastInitial

Source:

Get the current last initial filter.

(static, constant) getPageNumber

Source:

Get the current page number.

(static, constant) getPageSize

Source:

Get the current page size.

(static, constant) getTableFromId

Source:

Fetch the table via its table region id.

(static, constant) hideColumn

Source:

Hide a column in the participants table.

(static, constant) init

Source:

Set up listeners to handle table updates.

(static, constant) refreshTableContent

Source:

Update the specified table based on its current values.

(static, constant) setFilters

Source:

Update the specified table using the new filters.

(static, constant) setFirstInitial

Source:

Update the first initial to show.

(static, constant) setLastInitial

Source:

Update the last initial to show.

(static, constant) setPageNumber

Source:

Set the page number.

(static, constant) setPageSize

Source:

Set the page size.

(static, constant) setSortOrder

Source:

Update the sort order.

(static, constant) showColumn

Source:

Make a hidden column visible in the participants table.

Methods

(inner) checkTableIsDynamic(tableRoot) → {Bool}

Source:

Ensure that a table is a dynamic table.

Parameters:
Name Type Description
tableRoot HTMLElement
Returns:
Type
Bool

(inner) getFiltersetFromTable(tableRoot) → {Object}

Source:

Get the filterset data from a known dynamic table.

Parameters:
Name Type Description
tableRoot HTMLElement
Returns:
Type
Object

(inner) getTableData(tableRoot) → {DOMStringMap}

Source:

Get the table dataset for the specified tableRoot, ensuring that the provided table is a dynamic table.

Parameters:
Name Type Description
tableRoot HTMLElement
Returns:
Type
DOMStringMap

(inner) resetTablePreferences(tableRoot) → {Promise}

Source:

Reset table preferences.

Parameters:
Name Type Description
tableRoot HTMLElement
Returns:
Type
Promise