Class: cDbCJGridDataSource
Class Hierarchy:
cObjectcCJGridDataSourcecCJGridCachedDataSourcecDbCJGridDataSourceClass Definition
Properties
BooleanpbNotifyingExternalDD
Functions and Procedures
BooleanCanAddRow()
BooleanCanDeleteRow()
BooleanCanSaveRow()
Construct_Object()
tDataSourceRowCreateClearedDataSourceRow()
augmented to clear the DD and get DD defaults as needed
StringDataForCell(Integer iRow Integer iColumn)
BooleanDeleteSelectedRow()
BooleanIsSelectedRowChanged()
BooleanIsSelectedRowNew()
OnNotifyExternalDDofSelect(tDataSourceRow DataSourceRow)
ResetSelectedRow()
BooleanSaveSelectedRow()
SelectRow(Integer iRow Boolean bUpdateExternalData)
this can get called with the Row out of range for the cache
because rowcount can exceed the cache size
BooleanShouldSaveSelectedRow()
only can be saved if there is a change
SynchronizeDataForSelectedRow(Boolean bPushData Integer iFlags)
UpdateDataForSelectedRow(Integer iColumn String sValue Boolean bUpdateExternalData)
UpdateDataSourceFromExternalSource(Integer iFlags)
move data from the DD's global file buffer to the datasource
iFlags contains the refresh mode. Done and Cleared array should be set.
called as part of a DD refresh
BooleanUpdateDataSourceRowFromExternalSource(Integer iFlags tDataSourceRow ByRef DataSourceRow)
update this row from the DDs, the file buffers and the done arrays. Called during a DD operation
returns new datasourcerow (byref) and True if there was a change the change test can be used to
optimize updating of the datasource array
UpdateExternalSourceFromDataSource(Integer iFlags)
move data from datasource to the DD's global file buffer.
HandleValidateSelectedRow()