Class upShapedTableControl
Defined in: <datarange.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
upShapedTableControl(p_oRecord, p_oHtml)
Table Control / Column (representing a control for a specific record)
|
Method Attributes | Method Name and Description |
---|---|
getHtml(p_bHtmlNode)
|
|
getJsValue(p_fallbackValue)
Returns a javascript object in case the control is of the type integer or date, otherwise the display value.
|
|
getValue()
|
Class Detail
upShapedTableControl(p_oRecord, p_oHtml)
Table Control / Column (representing a control for a specific record)
- Parameters:
- p_oRecord
- p_oHtml
Method Detail
{object}
getHtml(p_bHtmlNode)
// Example usage, set background color for current control oControl.getHtml().css('backgroundColor', 'blue');
- Parameters:
- p_bHtmlNode
- Returns:
- {object} Returns jQuery html node representing the current record control
{string | integer | date | null | p_fallbackValue}
getJsValue(p_fallbackValue)
Returns a javascript object in case the control is of the type integer or date, otherwise the display value.
- Parameters:
- p_fallbackValue
- {number | date} Returns the fallback value in case the javascript object is invalid, otherwise returns null.
- Returns:
- {string | integer | date | null | p_fallbackValue} Display value for current record control. Can be null.
{upShapedTableRecord}
getRecord()
- Returns:
- {upShapedTableRecord} Returns the record object of the current control.
- See:
- upShapedTableRecord
{string}
getValue()
- Returns:
- {string} Display value for current record control.