Class: DataTableRowProxy¶
DataTableRowProxy is mainly for DataTableRow operations.
Hierarchy¶
-
DataTableRowProxy
Implements¶
Summary¶
Constructors¶
Properties¶
Class Properties¶
Currently none in this class.
Inherited Properties¶
Accessors¶
Class Accessors¶
Currently none in this class.
Inherited Accessors¶
Methods¶
Class Methods¶
Inherited Methods¶
- _clientAPIProps
- _getExecuteSource
- base64StringToBinary
- binaryToBase64String
- callFunction
- convertFilterCriteriaArrayToJSONString
- convertJSONStringToFilterCriteriaArray
- count
- create
- createFilterCriteria
- createFilterSelection
- createLinkSpecifierProxy
- createSorterSelection
- deleteODataCacheImages
- dismissActivityIndicator
- downloadInProgressForPage
- downloadInProgressForReadLink
- evaluateTargetPath
- evaluateTargetPathForAPI
- executeAction
- formatBase64String
- formatCurrency
- formatDate
- formatDatetime
- formatNumber
- formatPercentage
- formatScientific
- formatTime
- getActionResult
- getAppClientData
- getAppearanceMode
- getAppEventData
- getAppName
- getAvailableThemes
- getBindingObject
- getCircularImage
- getClientData
- getDefinitionValue
- getEventData
- getGlobalDefinition
- getGlobalSideDrawerControlProxy
- getIconTextImage
- getIndex
- getLanguage
- getLogger
- getMobileServiceAppId
- getMobileServiceEndpointUrl
- getName
- getODataCacheImagePath
- getODataProvider
- getPageDefinition
- getPageProxy
- getParent
- getPasscodeSource
- getPendingDownload
- getReadLink
- getRegion
- getRegions
- getSAPPassportHeaderValue
- getSupportedLanguages
- getTheme
- getType
- getUseInAppCamera
- getVersionInfo
- initializeLogger
- isAppInMultiUserMode
- isCurrentPage
- isDemoMode
- isDeviceCompliant
- isMediaLocal
- localizeText
- read
- sendMobileServiceRequest
- sendRequest
- setApplicationIconBadgeNumber
- setDebugSettings
- setLanguage
- setMdkWindows
- setRegion
- setTheme
- setUseInAppCamera
- showActivityIndicator
- updateProgressBanner
Constructors¶
Constructor¶
+ new DataTableRowProxy(context: IContext): DataTableRowProxy
Overrides RowProxy.constructor
Parameters:
| Name | Type |
|---|---|
| context | IContext |
Returns: DataTableRowProxy
Methods¶
getCell¶
This method accepts 2 calling method, either passing in the columnIndex ONLY or passing in both row and column indexes. The latter is for backwards compatibility only and will be deprecated in the future release.
Param¶
Can either be row index or column index, depending on calling method.
Param¶
Either column index or undefined.
Call Signature¶
▸ getCell(columnIndex): IDataTableCellProxy
Get a specific cell from the current row given a column index.
Parameters¶
columnIndex¶
number
The column index.
Returns¶
Example¶
// Get cell at column 0 from the current row
const dataTableRowProxy = context;
const dataTableCell = dataTableRowProxy.getCell(0);
console.log(`Data table cell value: ${dataTableCell.getValue()}`);
Implementation of¶
Call Signature¶
▸ getCell(rowIndex, columnIndex): IDataTableCellProxy
Parameters¶
rowIndex¶
number
The row index.
columnIndex¶
number
The column index.
Returns¶
Deprecated¶
Use getCell(columnIndex) instead. Passing row index is no longer supported. Implemented to allow backwards compatibility.