Class: upShapedTableControlGroup

upShapedTableControlGroup


new upShapedTableControlGroup(table, controlGuid)

A collection of all table columns (upShapedTableControl objects) for all table record rows.

Parameters:
Name Type Description
table upShapedTableControl
controlGuid String
See:

Methods


getControl(identifier)

Returns the column for a specific record.

Parameters:
Name Type Description
identifier String

The record id.

Returns:
Type
upShapedTableControl | null

getControlByRecId(recId)

Returns the column for a specific record.

Parameters:
Name Type Description
recId String
Returns:
Type
upShapedTableControl | null

getControls()

Returns a table column. This is a jQuery list.

Returns:
Type
Array.<upShapedTableControl>

getControlType()

Returns:
Type
String
Example
var oControlGroup = getElement("[TABLE-GUID]").oUp.getControlGroup("[CONTROL-GUID]");
oControlGroup.getControlType();

getHtml()

Return a jQuery list with all html column nodes of all records.

Returns:
Type
Array.<Object>
Example
// set background color for table column
var oControlGroup = getElement("[TABLE-GUID]").oUp.getControlGroup("[CONTROL-GUID]");
oControlGroup.getHtml().css('backgroundColor', 'blue');

getSum()

Returns:

sum

Type
Number | null
Example
var oControlGroup = getElement("[TABLE-GUID]").oUp.getControlGroup("[CONTROL-GUID]");
oControlGroup.getSum();