Vcl.DBGrids.TDBGrid
Delphi
TDBGrid = class(TCustomDBGrid)
C++
class PASCALIMPLEMENTATION TDBGrid : public TCustomDBGrid
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | Vcl.DBGrids |
Description
TDBGrid displays and manipulates records from a dataset in a tabular grid.
Put a TDBGrid object on a form to display and edit the records from a database table or query. Applications can use the data grid to insert, delete, or edit data in the database, or simply to display it.
At run time, users can use the database navigator (TDBNavigator) to move through data in the grid, and to insert, delete, and edit the data. Edits that are made in the data grid are not posted to the underlying dataset until the user moves to a different record or closes the application.
TDBGrid implements the generic behavior introduced in TCustomDBGrid. TDBGrid publishes many of the properties inherited from TCustomDBGrid, but does not introduce any new behavior.
See Also
- Vcl.DBCtrls.TDBNavigator
- Creating a Customized Grid
- Creating a Grid That Contains Other Data-aware Controls