new SmartTable()
NB: Attributes not available here - use connectedCallback to reference
- Source:
Members
componentVersion
Component version
- Source:
componentVersion
Component version
- Source:
componentVersion
Component version
- Source:
data
Set the value to show
- Source:
data
Get the current shown value
- Source:
data
Set the value to show
- Source:
data
Get the current shown value
- Source:
data
Set the value to show
- Source:
data
Get the current shown value
- Source:
elTbody
Reference to table body @type {HTMLTableElement}
- Source:
elTbody
Reference to table body @type {HTMLTableElement}
- Source:
elTbody
Reference to table body @type {HTMLTableElement}
- Source:
elTfoot
Reference to table foot @type {HTMLTableElement}
- Source:
elTfoot
Reference to table foot @type {HTMLTableElement}
- Source:
elTfoot
Reference to table foot @type {HTMLTableElement}
- Source:
elThead
Reference to table head @type {HTMLTableElement}
- Source:
elThead
Reference to table head @type {HTMLTableElement}
- Source:
elThead
Reference to table head @type {HTMLTableElement}
- Source:
(static) observedAttributes
Makes HTML attribute change watched
- Source:
(static) observedAttributes
Makes HTML attribute change watched
- Source:
(static) observedAttributes
Makes HTML attribute change watched
- Source:
Methods
_buildCols(fromData)
Build the column metadata
Parameters:
Name | Type | Description |
---|---|---|
fromData |
boolean | If true, calculate the columns from the data |
- Source:
_buildCols(fromData)
Build the column metadata
Parameters:
Name | Type | Description |
---|---|---|
fromData |
boolean | If true, calculate the columns from the data |
- Source:
_buildCols(fromData)
Build the column metadata
Parameters:
Name | Type | Description |
---|---|---|
fromData |
boolean | If true, calculate the columns from the data |
- Source:
_buildTblOutline()
Builds the table outline and prepends to the component tag
- Source:
_buildTblOutline()
Builds the table outline and prepends to the component tag
- Source:
_buildTblOutline()
Builds the table outline and prepends to the component tag
- Source:
connectedCallback()
Runs when an instance is added to the DOM
- Source:
connectedCallback()
Runs when an instance is added to the DOM
- Source:
connectedCallback()
Runs when an instance is added to the DOM
- Source:
disconnectedCallback()
Runs when an instance is removed from the DOM
- Source:
disconnectedCallback()
Runs when an instance is removed from the DOM
- Source:
disconnectedCallback()
Runs when an instance is removed from the DOM
- Source:
getCellById(cellId) → {HTMLTableCellElement|null}
Get an element reference from an RxCx cell reference
Parameters:
Name | Type | Description |
---|---|---|
cellId |
string | The RxCx cell reference required |
- Source:
Returns:
The HTML table cell element if found
- Type
- HTMLTableCellElement | null
getCellById(cellId) → {HTMLTableCellElement|null}
Get an element reference from an RxCx cell reference
Parameters:
Name | Type | Description |
---|---|---|
cellId |
string | The RxCx cell reference required |
- Source:
Returns:
The HTML table cell element if found
- Type
- HTMLTableCellElement | null
getCellById(cellId) → {HTMLTableCellElement|null}
Get an element reference from an RxCx cell reference
Parameters:
Name | Type | Description |
---|---|---|
cellId |
string | The RxCx cell reference required |
- Source:
Returns:
The HTML table cell element if found
- Type
- HTMLTableCellElement | null
getValueByCellId(cellId) → {*}
Get the value of a data cell using RxCx referencing
Parameters:
Name | Type | Description |
---|---|---|
cellId |
string | The RxCx cell reference required |
- Source:
Returns:
The value of the cell if found else Null or Undefined
- Type
- *
getValueByCellId(cellId) → {*}
Get the value of a data cell using RxCx referencing
Parameters:
Name | Type | Description |
---|---|---|
cellId |
string | The RxCx cell reference required |
- Source:
Returns:
The value of the cell if found else Null or Undefined
- Type
- *
getValueByCellId(cellId) → {*}
Get the value of a data cell using RxCx referencing
Parameters:
Name | Type | Description |
---|---|---|
cellId |
string | The RxCx cell reference required |
- Source:
Returns:
The value of the cell if found else Null or Undefined
- Type
- *
getValueByOffset(obj, rowOffset, colOffset) → {*}
Allows access to a cell using numeric row/col offsets
Parameters:
Name | Type | Description |
---|---|---|
obj |
object | Array | The 2d object to search |
rowOffset |
number | The row offset |
colOffset |
number | The column offset |
- Source:
Returns:
Cell value
- Type
- *
getValueByOffset(obj, rowOffset, colOffset) → {*}
Allows access to a cell using numeric row/col offsets
Parameters:
Name | Type | Description |
---|---|---|
obj |
object | Array | The 2d object to search |
rowOffset |
number | The row offset |
colOffset |
number | The column offset |
- Source:
Returns:
Cell value
- Type
- *
getValueByOffset(obj, rowOffset, colOffset) → {*}
Allows access to a cell using numeric row/col offsets
Parameters:
Name | Type | Description |
---|---|---|
obj |
object | Array | The 2d object to search |
rowOffset |
number | The row offset |
colOffset |
number | The column offset |
- Source:
Returns:
Cell value
- Type
- *