Class: upShapedTableControl

upShapedTableControl

new upShapedTableControl(oRecord, oHtml)

Representing a control for a specific record.

Parameters:
Name Type Description
oRecord Object
oHtml Object

Methods

getHtml(asNode) → {Object}

Returns jQuery html node representing the current record control.

Parameters:
Name Type Argument Default Description
asNode boolean <optional>
false
Returns:
Type
Object
Example
// Example usage, set background color for current control
oControl.getHtml().css('backgroundColor', 'blue');

getJsValue(fallbackValue) → {String|Number|Date|null}

Returns the display value, if possible, it will be parsed.

Parameters:
Name Type Argument Description
fallbackValue Number | Date <optional>
Returns:
Type
String | Number | Date | null

getRecord() → {upShapedTableRecord}

Returns the record object of the current control.

See:
Returns:
Type
upShapedTableRecord

getValue() → {String}

Get the display value for current record control.

Returns:
Type
String