Class Index | File Index

Classes


Class upShapedTableControlGroup


Defined in: <datarange.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
upShapedTableControlGroup(p_oTable, p_strControlGuid)
A collection of all table columns (upShapedTableControl objects) for all table record rows.
Method Summary
Method Attributes Method Name and Description
 
getControl(p_strIdentifier)
 
getControlByRecId(p_strRecId)
 
getControls(p_strGuid)
 
 
 
Class Detail
upShapedTableControlGroup(p_oTable, p_strControlGuid)
A collection of all table columns (upShapedTableControl objects) for all table record rows.
Parameters:
p_oTable
p_strControlGuid
See:
upShapedTableControl
Method Detail
{upShapedTableControl} getControl(p_strIdentifier)
Parameters:
{string} p_strIdentifier
Unique Record identifier, usually the record id
Returns:
{upShapedTableControl} Returns the column/control for a specific record.

{upShapedTableControl} getControlByRecId(p_strRecId)
Parameters:
{string} p_strRecId
Record ID
Returns:
{upShapedTableControl} Returns the column/control for a specific record.

{Array} getControls(p_strGuid)
Parameters:
{string} p_strGuid
control/column guid
Returns:
{Array} Returns a table column. This is a jQuery list with objects.

{String} getControlType()
var oControlGroup = getElement("[TABLE-GUID]").oUp.getControlGroup("[CONTROL-GUID]")
oControlGroup.getSum()
Returns:
{String} control type

{Array} getHtml()
// set background color for table column
var oControlGroup = getElement("[TABLE-GUID]").oUp.getControlGroup("[CONTROL-GUID]")
oControlGroup.getHtml().css('backgroundColor', 'blue');
Returns:
{Array} Return a jQuery list with all html column nodes of all records

{Number} getSum()
var oControlGroup = getElement("[TABLE-GUID]").oUp.getControlGroup("[CONTROL-GUID]")
oControlGroup.getSum()
Returns:
{Number} Sum of all records. Can be null.

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Nov 23 2012 12:16:41 GMT+0100 (MEZ)