ListApp
Methods
applyGridFilterDateRange()
loadFromJSON(json) ⇒
setRql(rql) ⇒ this
clearGrid() ⇒ this
refreshGrid() ⇒ this
showGridColumnTotals() ⇒ this
gridGroupBy(fields) ⇒ this
addSelectionGridWidget(options) ⇒ this
addReportGridWidget(options) ⇒ this
addGridColumn(column) ⇒ this
getColumnAlias(columnId)
getColumnAlias(columnId)
getGrid() ⇒ *
getAllGridRows() ⇒ Array.<any>
getGridRow(rowuid) ⇒ *
getGridFieldText(rowuid, fieldid) ⇒ void
resizeGridContainer()
setColumnFooter(columnId, value)
setGridFieldText(rowuid, fieldid, value)
setGridFieldTextForAllRows(fieldid, value)
setGridColumnProperty(columnId, propertyId, propertyValue)
onNewEventHandler(e)
onSelectEventHandler(e)
onReadyEventHandler(e)
onExportEventHandler(e)
applyGridFilterDateRange()
loadFromJSON(json) ⇒
Returns: this Params
json
Type.ReportQuery
Example
{
"options": {
"showfromto": true,
"showgroupbar": true,
"editappid": "relationship",
"editappfieldid": "rowid"
},
"columns": [
{
"id": "relationshipid",
"title": "ID",
"type": "text"
},
{
"id": "accountnbr",
"title": "Acct #",
"type": "text",
"width": "100px"
},
{
"id": "customerbalance.balance",
"title": "Balance",
"type": "currency"
},
{
"id": "isactive",
"title": "Active",
"type": "checkbox",
"align": "center"
}
]
}
setRql(rql) ⇒ this
this
Params
rql
any
clearGrid() ⇒ this
this
refreshGrid() ⇒ this
this
showGridColumnTotals() ⇒ this
this
gridGroupBy(fields) ⇒ this
this
Params
fields
any
addSelectionGridWidget(options) ⇒ this
this
Params
options
Type.Options
addReportGridWidget(options) ⇒ this
this
Params
options
Type.Options
addGridColumn(column) ⇒ this
this
Params
column
Type.Column
getColumnAlias(columnId)
Params
columnId
getColumnAlias(columnId)
Params
columnId
getGrid() ⇒ *
*
getAllGridRows() ⇒ Array.<any>
Array.<any>
getGridRow(rowuid) ⇒ *
*
Params
rowuid
any
getGridFieldText(rowuid, fieldid) ⇒ void
void
Params
rowuid
string
fieldid
string
resizeGridContainer()
setColumnFooter(columnId, value)
Params
columnId
value
setGridFieldText(rowuid, fieldid, value)
Params
rowuid
string
fieldid
string
value
*
setGridFieldTextForAllRows(fieldid, value)
Params
fieldid
string
value
*
setGridColumnProperty(columnId, propertyId, propertyValue)
Params
columnId
any
propertyId
any
propertyValue
any
onNewEventHandler(e)
Params
e
Type.EventInfo
onSelectEventHandler(e)
Params
e
Type.EventInfo
onReadyEventHandler(e)
Params
e
Type.EventInfo
onExportEventHandler(e)
Params
e
Type.EventInfo
Last updated
Was this helpful?