Skip to content

Methods for cDbCJGridDataSource

View method list in alphabetical order.

Inherited Methods from cCJGridCachedDataSource

Name Type Description Defining Class
FindExternalDataInCache Function Searches for the file buffer's RowId in the cache cCJGridCachedDataSource

Inherited Methods from cCJGridDataSource

Name Type Description Defining Class
AddColumn Procedure Sent by the grid to register a column object in the datasource cCJGridDataSource
AllDataIsLoaded Function Returns True if all data is loaded in the datasource cCJGridDataSource
CanAddRow Function Returns True if the datasource object supports adding rows cCJGridDataSource
CanDeleteRow Function Returns True if the datasource object supports deleting/removing rows cCJGridDataSource
CanSaveRow Function Returns True if the datasource object supports saving rows cCJGridDataSource
CreateDataSourceRow Function Creates a data source row using whatever rules the datasource uses for creating rows cCJGridDataSource
DataForCell Function Returns the datasource value for the passed row and column cCJGridDataSource
DataIsStatic Function Returns True if your data is static cCJGridDataSource
DataSource Function Returns the entire datasource as a tDataSourceRow array cCJGridDataSource
DataSourceSynchRequired Function Determines if the grid needs to be synchronized with the datasource cCJGridDataSource
DeleteSelectedRow Function Deletes the SelectedRow from the external data source (DataDictionary object) cCJGridDataSource
FindColumnValue Function Attempts to find a value in your datasource array cCJGridDataSource
InitializeDataSource Procedure Sent by the grid's InitializeData method as part of a grid initialization process cCJGridDataSource
InsertRow Procedure Inserts an empty row into the datasource array at the passed index position cCJGridDataSource
IsSelectedRowChanged Function Returns True if the selected row has been changed cCJGridDataSource
IsSelectedRowNew Function Returns True if the selected row is new cCJGridDataSource
NormalizeDataSource Function Sent to datasource by the grid as part of the virtual mode synchronization process cCJGridDataSource
PageInFirstRow Procedure Makes sure that the first row is paged into the datasource cache cCJGridDataSource
PageInLastRow Procedure Makes sure that the last row is paged into the datasource cache cCJGridDataSource
PageInMatchingRow Function Makes sure that the data row represented by the passed RowId is loaded into the datasource cache cCJGridDataSource
PageInRows Procedure Used to manage the datasource cache. Makes sure that rows specified are loaded in the cache. cCJGridDataSource
RemoveRow Procedure Removes the passed row from the datasource cCJGridDataSource
Reset Procedure Clears the data in your datasource cCJGridDataSource
ResetAll Procedure Resets the data in your datasource and clears all column information. This is a complete reset. cCJGridDataSource
ResetSelectedRow Procedure This clears the SelectedRow of any changes restoring it to its pre-edited state cCJGridDataSource
RowCount Function Returns the number of rows in the datasource cCJGridDataSource
RowTag Function Returns the RowID for the passed row number cCJGridDataSource
SaveSelectedRow Function Saves any changes in the SelectedRow cCJGridDataSource
SelectedRow Function Returns the row number of the SelectedRow cCJGridDataSource
SelectRow Procedure Sets the SelectedRow for a datasource cCJGridDataSource
ShouldSaveSelectedRow Function Returns True if the selected row has savable changes cCJGridDataSource
SortDataSource Procedure Sorts the datasource based on the settings in the passed sort rules cCJGridDataSource
SynchronizeDataForSelectedRow Procedure Instructs the datasource object to synchronize SelectedRow data between and cache and the external data store cCJGridDataSource
UpdateDataForSelectedRow Procedure Updates the datasource with a new column value for the SelectedRow cCJGridDataSource
ValidateSelectedRow Function Validates all data in the selected row cCJGridDataSource

Inherited Methods from cObject

Name Type Description Defining Class
ChildByIndex Function Can be used to iterate the direct children of an object cObject
ClassSuperClass Function Returns the superclass of the passed class cObject
Create Function Creates an object based on the passed Class Id cObject
CreateNamed Function Creates an object based on the passed Class Id and assigns it a name Name based on a passed name cObject
Destroy Procedure Destroys the object that receives the message and any child objects of that object cObject
Exit_Application Procedure Starts the process of closing an application cObject
IsClassOfClass Function Determines whether the target class is part of the searched class's hierarchy cObject
IsObjectOfClass Function Determines whether the passed class is part of the object's class hierarchy cObject
ObjectClass Function Returns the integer class ID assigned to the class this object is based on cObject
Request_Destroy_Object Procedure Use the Destroy method instead cObject