Class: upShapedTableControl

upShapedTableControl


new upShapedTableControl(record, element)

Representing a control for a specific record.

Parameters:
Name Type Description
record Object
element Object

Methods


getHtml( [asNode])

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])

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()

Returns the record object of the current control.

See:
Returns:
Type
upShapedTableRecord

getValue()

Get the display value for current record control.

Returns:
Type
String