Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridFixedDataRowsOptions Class

Stores fixed data row settings.

#Declaration

Delphi
TcxGridFixedDataRowsOptions = class(
    TcxCustomGridOptions
)

#Remarks

Users can click row pins to exclude corresponding rows from grid View scrollable content and pin them at the top or bottom border of the View area if the GridView.OptionsCustomize.DataRowFixing property is set to True.

VCL Data Grid: Fixed Data Rows

#Main API Members

The list below outlines key members of the TcxGridFixedDataRowsOptions class. These members allow you to configure appearance and behavior settings of fixed data rows.

#Appearance Settings

PinSize
Allows you to adjust row pin dimensions.
SeparatorColor

Allows you to explicitly specify the color of the separator between fixed and scrollable row areas.

If this property is unspecified, the separator color depends on the active skin and palette. You can call the GetSeparatorColor function to identify the actual separator color.

SeparatorWidth
Allows you to adjust the width of the separator between fixed and scrollable row areas.

#Behavior Settings

PinClickAction
Specifies the action associated with a click on a data row pin.
PinVisibility
Allows you to specify the row pin display condition. All row pins are initially hidden.

#General-Purpose API Members

Assign
Copies fixed data row settings between grid Table Views.
GridView
Provides access to the parent grid Table View.

#Direct TcxGridFixedDataRowsOptions Class Reference

The TcxGridTableView.FixedDataRows property references a TcxGridFixedDataRowsOptions object.

To see the fixed data row functionality in action, run the Grid and Data Editors demo in the VCL Demo Center installed with compiled DevExpress demos. Click Fixed Data Rows in the Sorting and Grouping sidebar category.

Download: Compiled VCL Demos

Tip

Compiled DevExpress demos ship with source code installed in the Public Documents folder (%Public%) for all users (default). You can find all project and source code files for Data Grid demos in the following folder:

%Public%\Documents\DevExpress VCL Demos\MegaDemos\Product Demos\ExpressQuantumGrid

See Also