src/ui/grid/services/smart-grid-sseh-adapter.service.ts
Methods |
|
| Public Async afterScreenValuesApplied |
afterScreenValuesApplied()
|
|
Runs grid-specific work after screen values were applied.
Returns :
Promise<void>
|
| Public Async applyInitializingFieldControls | ||||||||||||
applyInitializingFieldControls(gridColumns: any[], response: any)
|
||||||||||||
|
Applies Initializing field controls to cloned grid columns.
Parameters :
Returns :
Promise<any[]>
The updated grid columns. |
| Public getFieldEventHandlerDefinitions |
getFieldEventHandlerDefinitions()
|
|
Returns grid field SSEH handler definitions.
Returns :
SmartSsehEventHandlerRegistration[]
The field handler definitions. |
| Public getScreenValueRecord | ||||||||
getScreenValueRecord(dataSource: SmartDataSource)
|
||||||||
|
Returns the record whose values should be sent as SSEH screen values. While the grid edits its own data source inline, the live edit FormGroup values are overlaid onto a copy of the committed record so that field events report the value currently being edited rather than the stale committed value. Otherwise the committed record is returned unchanged.
Parameters :
Returns :
any
The screen-values after-image record. |
| Public Async handleComponentMethodCall | ||||||||||||||||
handleComponentMethodCall(parsedMethodCall: SSEHParsedMethodCall, methodCall?: any, context?: SmartSsehResponseContext)
|
||||||||||||||||
|
Handles a component method call returned from SSEH.
Parameters :
Returns :
Promise<void>
|
| Public Async handleFieldControls | ||||||||||||
handleFieldControls(fieldControls: SSEHFieldControl[], context?: any)
|
||||||||||||
|
Handles field controls returned by an SSEH response.
Parameters :
Returns :
Promise<void>
|
| Public Async handleTableIOAction | ||||||||||||
handleTableIOAction(tableIoAction: SSEHTableIOUIAction, context?: SmartSsehResponseContext)
|
||||||||||||
|
Handles a TableIO action returned from SSEH.
Parameters :
Returns :
Promise<void>
|
| Public initialize | ||||||||
initialize(target: SmartGridComponent)
|
||||||||
|
Initializes the adapter with its Smart Grid target.
Parameters :
Returns :
void
|