Class: TableUtils

TableUtils()

new TableUtils()

Class containing utility functions for table components
Source:

Methods

moveActive(pTable, pTableComp, pSortfield, pDirection, pCondition) → {Boolean}

activates Up/Down buttons
Parameters:
Name Type Description
pTable String req Table
pTableComp String req name of the table comp
pSortfield String req sort field name z.B. 'SORT'
pDirection String req 'up' or 'down'
pCondition String opt
Source:
Returns:
true if active
Type
Boolean

moveRow(pTable, pTableComp, pCountField, pDirection, pCondition) → {void}

Moving Tablerows Sort field up or down a step
Parameters:
Name Type Description
pTable String req Table
pTableComp String req name of the table comp
pCountField String req sort field name z.B. 'SORT'
pDirection String req 'up' oder 'down'
pCondition String opt
Source:
Returns:
Type
void