Constructor
new TableCell(initialValueopt, horizontalAlignopt, nullable, verticalAlignopt, nullable, …args)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
initialValue |
* |
<optional> |
an optional initial value for the cell |
horizontalAlign |
String |
<optional> <nullable> |
horizontal alignment; uses table settings by default; one of: |
verticalAlign |
String |
<optional> <nullable> |
vertical alignment; uses table settings by default; one of: |
args |
* |
<repeatable> |
parent class parameters |
- Mixes In:
- Source:
Methods
getRow() → {qui.tables.TableRow}
Return the owning row.
- Source:
Returns:
- Type
- qui.tables.TableRow
getValue() → {*}
Return the current value.
- Source:
Returns:
- Type
- *
hide()
Hide the cell.
- Source:
isSelected()
Tell if cell is selected or not.
- Source:
(abstract) makeContent() → {jQuery}
Implement this method to create the actual table cell content.
- Source:
Returns:
- Type
- jQuery
setRow(row)
Set the owning row.
Parameters:
Name | Type | Description |
---|---|---|
row |
qui.tables.TableRow |
- Source:
setSelected(selected)
Select or deselect cell.
Parameters:
Name | Type | Description |
---|---|---|
selected |
Boolean |
- Source:
setSelectMode(selectMode)
Set select mode. This is internally called by owning qui.tables.TableRow
.
Parameters:
Name | Type | Description |
---|---|---|
selectMode |
String | one of: |
- Source:
setValue(value)
Set the current value.
Parameters:
Name | Type | Description |
---|---|---|
value |
* |
- Source:
show()
Show the cell.
- Source:
(abstract) showValue(value)
Implement this method to display the value in the cell content.
Parameters:
Name | Type | Description |
---|---|---|
value |
* |
- Source: