Class: cDbCJGridDataSource
Properties | Events | Methods | Index of Classes
Provides a cacheable, fully DD-enabled datasource for the cDbCJGrid class.
Hierarchy
- cObject
- cCJGridDataSource
- cCJGridCachedDataSource
- cDbCJGridDataSource
Library
Windows Application Class Library
Package
cDbCJGridDataSource.pkg
Description
The cDbCJGridDataSource is the datasource class that is used for data-aware cDbCJGrid classes. The class does not require that all data be loaded at one time. Data can be partially loaded and it can be cached in and out. Rows are loaded dynamically using the cDBGrid's DataDictionary server. This class supports DataDictionary-based saves, deletes, and validations. When a row is saved or deleted, your DataDictionary and your database, as well as the datasource array, are all updated.
This class is usually used in combination with the cDbCJGrid and cDbCJGridColumn classes.
When a cDbCJGrid object is created, it creates a cDbCJGridDataSource object. Therefore, you do not usually need to create this object yourself.
The cDbCJGridColumn extends the cCJGridDataSource interface to support caching and DataDictionary support. The differences between the cDbCJGridDataSource and cCJGridDataSource are discussed in the cCJGridDataSource method reference section.