| 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 |
| 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 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 |
| FindColumnValue |
Function |
Attempts to find a value in your datasource array FindColumnValue is used to search for data in a column. |
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 Inserts a new empty row at the specified row number, effectively inserting the row before the existing row, if any. |
cCJGridDataSource |
| 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 |
| 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 |
| 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 |