Skip to main content

Importing ExpressQuantumGrid3

  • 2 minutes to read

This topic provides general information on the properties imported from ExpressQuantumGrid3 and ExpressQuantumGrid3 layout components. Working with the Import dialog is discussed in the Converting to ExpressQuantumGrid section. It also provides general information on importing third-party grid controls to the native format of ExpressQuantumGrid.

The conversion utility imports most of the settings from the TdxDBGrid and TdxDBGridLayout components. Versions 3 and 4 of the Grid control may appear similar in their outwards appearances but architecturally they are really quite different. Therefore, not all options can be imported to EQGrid. You can refer to the Grid3 and Grid4 Equivalents document which describes the main differences and the equivalent properties of the two grid controls.

When an EQGrid3 is imported to an EQGrid, either a Table or Banded Table View is created. A Banded Table View (TcxGridDBBandedTableView) is created in the following cases:

  • an EQGrid3 control displays the band header

or

  • an EQGrid3 control contains two or more bands

or

  • the caption of a band specifies a non-empty string

Otherwise, the Table View of the TcxGridDBTableView class is used and no bands are imported.

The following grid View elements are imported when converting from the EQGrid3 and its layout components:

  • the DataSource property

  • columns and their attributes such as column width, grouping, sorting, summary options and field names.

EQGrid does not provide different column classes like EQGrid3 does. Instead, the column type is assigned via the PropertiesClass property. Refer to the EQGrid3 and EQGrid4 Equivalents document for details.

  • bands

Bands are imported only in specific cases (when the converter creates a Banded Table View) as listed above.

  • options controlling the behavior and appearance of a grid control

These options include:

  • the visibility of footer, group and header panels, preview sections, grid lines, the indicator, etc.

  • options controlling the ability of an end-user to manipulate the bands and columns

  • multiple data-aware settings

  • font and color attributes

  • summary groups and summary items

Note

A separate TdxDBGrid control must be present on the form when importing a TdxDBGridLayout source component.