[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBGrids' (#lcl)

TCustomDBGrid.OptionsExtra

Contains the extra options enabled for the database grid control.

Declaration

Source position: dbgrids.pas line 523

protected property TCustomDBGrid.OptionsExtra : TDbGridExtraOptions
  read FExtraOptions
  write SetExtraOptions
  default [dgeAutoColumns, dgeCheckboxColumn];

Description

OptionsExtra is a TDBGridExtraOptions property used to store extra options enabled for the grid control. OptionsExtra is a set type which can contain 0 (zero) or more values from the TDBGridExtraOption enumeration. The default values in the property include dgeAutoColumns and dgeCheckboxColumn. These values enable the use of automatic columns definitions from the linked dataset and displaying check boxes in columns with Boolean values.

Changing the values in the OptionsExtra property causes the grid control to be updated to reflect the values added to or removed from the set. Adding or removing dgeCheckboxColumn causes the control to be redrawn. Adding or removing dgeAutoColumns causes automatic columns to be added to or removed from the grid as needed. See AddAutomaticColumns and RemoveAutomaticColumns for more information. The active cell and/or row is updated prior to exit by calling UpdateActive.

Use the Options and Options2 properties to control other features and behaviors enabled for the grid control.

See also

TCustomDBGrid.AddAutomaticColumns

  

Automatically adds a column definition for each Field in the dataset.

TCustomDBGrid.RemoveAutomaticColumns

  

Removes automatic columns added to the grid control.

TCustomDBGrid.UpdateActive

  

UpdateActive redraws the control when the active row in the dataset is changed.

TDBGrid.Columns

  

Defines the dataset fields and their editing characteristics on the grid control.

TDBGrid.Options

  

Contains the optional features or behaviors that are enabled for the grid control.

TDBGrid.Options2

  

Contains additional options for scrolling and editor behavior enabled in the grid control.

TDBGridExtraOption

  

Enumerated type that specifies extra options available in a database grid.

TDBGridExtraOptions

  

TDbGridExtraOptions is a set of values from the TDbGridExtraOption enumeration.

TColumn

  

Implements a display column for the TDBGrid control.


Version 3.2 Generated 2024-02-25 Home