Namespace: table

vef.ui.table

A super module that collects available sub-modules.
Source:

Classes

EditableTable

Methods

(static) createTableRow(k, v, showEmpty)

Helper method for creating a single html table row,
Parameters:
Name Type Description
k string key
v string value
showEmpty boolean show empty properties if true
Source:

(static) exports.addButtonToTableRow(tr, classes, title, message, callback)

Helper method to add a button to a table row in the metadata table Buttons will be added from right to left
Parameters:
Name Type Description
tr HTMLElement
classes Array.<string>
title string
message string
callback function callback(keyCell, ValueCell);
Source:

(static) exports.addCopyButton(container)

Parameters:
Name Type Description
container HTMLElement table row or container element with table rows Add a copy button to an existing HTMLElement table additions
Source:

(static) exports.addExpansionButton(container)

Parameters:
Name Type Description
container HTMLElement table row or container element with table rows Add an expansion button to an existing HTMLElement table additions
Source:

(static) exports.initAnnotations(html, data, excludedKeys) → {HTMLElement}

Function for initializing editing for a metadataTable
Parameters:
Name Type Description
html HTMLElement
data object
excludedKeys Array.<string>
Source:
Returns:
wrapper
Type
HTMLElement