Methods for cDbCJGridDataSource
View method list in hierarchical order.
| Name | Type | Description | Defining Class |
|---|---|---|---|
| AddColumn | Procedure | Sent by the grid to register a column object in the datasource When a grid column object is created, a child grid column datasource object is also created. | cCJGridDataSource |
| AllDataIsLoaded | Function | Returns True if all data is loaded in the datasource AllDataIsLoaded can be called to determine if all of your data is loaded in your datasource cache. | cCJGridDataSource |
| CanAddRow | Function | Returns True if the datasource object supports adding rows Before a grid will attempt to add (insert or append) a new row it checks to see if adding rows is supported. | cCJGridDataSource |
| CanDeleteRow | Function | Returns True if the datasource object supports deleting/removing rows Before a grid will attempt to delete a row, it checks to see if deleting rows is supported. | cCJGridDataSource |
| CanSaveRow | Function | Returns True if the datasource object supports saving rows Before a grid will attempt to save a row, it checks to see if saving rows is supported. | cCJGridDataSource |
| ChildByIndex | Function | Can be used to iterate the direct children of an object ChildByIndex is a function that can be used to iterate the direct children of an object. | cObject |
| ClassSuperClass | Function | Returns the superclass of the passed class This returns the superclass of the passed class. | cObject |
| Create | Function | Creates an object based on the passed Class Id The Create function is used to dynamically create objects. | cObject |
| CreateDataSourceRow | Function | Creates a data source row using whatever rules the datasource uses for creating rows | cCJGridDataSource |
| CreateNamed | Function | Creates an object based on the passed Class Id and assigns it a name Name based on a passed name Creates an object based on the passed Class Id and assigns it a name Name based on a passed name. | cObject |
| DataForCell | Function | Returns the datasource value for the passed row and column DataForCell returns the value of any row / column combination. | cCJGridDataSource |
| DataIsStatic | Function | Returns True if your data is static DataIsStatic can be called to determine if your data is static. | cCJGridDataSource |
| DataSource | Function | Returns the entire datasource as a tDataSourceRow array DataSource returns the entire contents of the current datasource data as a tDataSourceRow array. | cCJGridDataSource |
| DataSourceSynchRequired | Function | Determines if the grid needs to be synchronized with the datasource The grid classes use the Codejock ReportControl's virtual mode for managing data. | cCJGridDataSource |
| DeleteSelectedRow | Function | Deletes the SelectedRow from the external data source (DataDictionary object) | cCJGridDataSource |
| Destroy | Procedure | Destroys the object that receives the message and any child objects of that object The Destroy message destroys the object that receives the message. | cObject |
| Exit_Application | Procedure | Starts the process of closing an application The Exit_Application message is used to close the program. | cObject |
| FindColumnValue | Function | Attempts to find a value in your datasource array FindColumnValue is used to search for data in a column. | cCJGridDataSource |
| FindExternalDataInCache | Function | Searches for the file buffer's RowId in the cache FindExternalDataInCache searches for an active table buffer's RowId in the cache. | cCJGridCachedDataSource |
| 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 Inserts a new empty row at the specified row number, effectively inserting the row before the existing row, if any. | cCJGridDataSource |
| 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 This returns True if the passed class is part of the object's class hierarchy. | cObject |
| IsSelectedRowChanged | Function | Returns True if the selected row has been changed IsSelectedRowChanged is called to determine if the SelectedRow has changes. | cCJGridDataSource |
| IsSelectedRowNew | Function | Returns True if the selected row is new IsSelectedRowNew is called to determine if the SelectedRow is a new row. | cCJGridDataSource |
| NormalizeDataSource | Function | Sent to datasource by the grid as part of the virtual mode synchronization process The grid classes use the Codejock ReportControl's virtual mode for managing data. | cCJGridDataSource |
| ObjectClass | Function | Returns the integer class ID assigned to the class this object is based on Returns the integer class ID assigned to the class this object is based on. | cObject |
| 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 PageInMatchingRow is used to manage cached data. | cCJGridDataSource |
| PageInRows | Procedure | Used to manage the datasource cache. | cCJGridDataSource |
| RemoveRow | Procedure | Removes the passed row from the datasource RemoveRow removes a row from the datasource array. | cCJGridDataSource |
| Request_Destroy_Object | Procedure | Use the Destroy method instead This method is used to destroy an object and all of its children. | cObject |
| Reset | Procedure | Clears the data in your datasource Reset clears the data in your datasource object. | cCJGridDataSource |
| ResetAll | Procedure | Resets the data in your datasource and clears all column information. | cCJGridDataSource |
| ResetSelectedRow | Procedure | This clears the SelectedRow of any changes restoring it to its pre-edited state ResetSelectedRow is use to reset changed data in a row. | cCJGridDataSource |
| RowCount | Function | Returns the number of rows in the datasource RowCount returns the number of rows in the datasource. | cCJGridDataSource |
| RowTag | Function | Returns the RowID for the passed row number RowTag returns the RowId of the passed iRow number. | cCJGridDataSource |
| SaveSelectedRow | Function | Saves any changes in the SelectedRow SaveSelectedRow attempts to save the SelectedRow. | cCJGridDataSource |
| SelectedRow | Function | Returns the row number of the SelectedRow SelectedRow determines which row in the datasource is currently selected. | cCJGridDataSource |
| SelectRow | Procedure | Sets the SelectedRow for a datasource The SelectedRow method determines which row in the datasource is currently selected. | cCJGridDataSource |
| ShouldSaveSelectedRow | Function | Returns True if the selected row has savable changes ShouldSaveSelectedRow is called to determine if the SelectedRow should be saved. | cCJGridDataSource |
| SortDataSource | Procedure | Sorts the datasource based on the settings in the passed sort rules SortDataSource sorts the data in the datasource according to the rules specified in the passed tGridSortRules struct. | 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 UpdateDataForSelectedRow is used to update changed values in the datasource. | cCJGridDataSource |
| ValidateSelectedRow | Function | Validates all data in the selected row ValidateSelectedRow validates the SelectedRow. | cCJGridDataSource |