Class Index | File Index

Classes


Class upShapedTable


Defined in: <datarange.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Table Object Provides access to a table through javascript.
Field Summary
Field Attributes Field Name and Description
 
Table pager
Method Summary
Method Attributes Method Name and Description
 
getControl(p_oHtml)
 
getControlGroup(p_strGuid)
 
 
getHtml(p_bHtmlNode)
 
getRecord(p_Identifier)
 
getRecordByRecId(p_strRecId)
 
 
reload(p_oSettings)
Reloads the table via ajax
Class Detail
upShapedTable(guid)
Table Object Provides access to a table through javascript.
getElement("[TABLE-GUID]").oUp.getRecords()
Parameters:
guid
Field Detail
{upTablePager} oPager
Table pager
See:
upTablePager
Method Detail
{upShapedTableControl} getControl(p_oHtml)
Parameters:
{object} p_oHtml
Reference to a html control within the table record
Returns:
{upShapedTableControl} Returns the wrapping object representing the table column (respectively control) for an specific table record, return value can be NULL
See:
upShapedTableControl

{upShapedTableControlGroup} getControlGroup(p_strGuid)
Parameters:
{string} p_strGuid
control guid
Returns:
{upShapedTableControlGroup} Returns a specific column for given control guid, can be NULL
See:
upShapedTableControlGroup

{Array} getControlGroups()
Returns:
{Array} Returns a jQuery list with all columns, [{: }]
See:
upShapedTableControlGroup

{object} getHtml(p_bHtmlNode)
Parameters:
{boolean} p_bHtmlNode
if true, methode returns the html node
Returns:
{object} Returns a reference to the table node as jQuery-object (default) or the html node

{upShapedTableRecord} getRecord(p_Identifier)
// button onclick-event inside table record
oTable.getRecord(this) 
same as: $(this).getTableRecord()
Parameters:
p_Identifier
record identifier (string) or element reference within the table record
Returns:
{upShapedTableRecord} Returns specific record for given record indentifier, can be NULL
See:
upShapedTableRecord

{upShapedTableRecord} getRecordByRecId(p_strRecId)
Parameters:
{string} p_strRecId
Record ID
Returns:
{upShapedTableRecord} Returns specific record for given record id, can be NULL
See:
upShapedTableRecord

{Array} getRecords()
Returns:
{Array} Returns a jQuery list with all records.
See:
upShapedTableRecord

reload(p_oSettings)
Reloads the table via ajax
// Example 1
oTable.reload( {
  bAsync: true, 
  bAddHistory: true, 
  bWaitAnimation: false, 
  oRequestMap: {
      rq_Test: '1', rq_Test: '2'
  }
}

// Example 2
$.when(oTable.reload())
  .then(function() {
      alert("done")
  })
.fail(function() {
    alert("failed :(")
});
Parameters:
{object} p_oSettings
Reload settings.

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