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) → {upShapedTableControl|null}
-
Returns the column for a specific record.
Parameters:
Name Type Description identifier
String The record id.
Returns:
- Type
- upShapedTableControl | null
-
getControlByRecId(recId) → {upShapedTableControl|null}
-
Returns the column for a specific record.
Parameters:
Name Type Description recId
String Returns:
- Type
- upShapedTableControl | null
-
getControls(guid) → {Array.<upShapedTableControl>}
-
Returns a table column. This is a jQuery list.
Parameters:
Name Type Description guid
String Returns:
- Type
- Array.<upShapedTableControl>
-
getControlType() → {String}
-
Returns:
- Type
- String
Example
var oControlGroup = getElement("[TABLE-GUID]").oUp.getControlGroup("[CONTROL-GUID]"); oControlGroup.getControlType();
-
getHtml() → {Array.<Object>}
-
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() → {Number|null}
-
Returns:
sum
- Type
- Number | null
Example
var oControlGroup = getElement("[TABLE-GUID]").oUp.getControlGroup("[CONTROL-GUID]"); oControlGroup.getSum();