TcxGridRowLayoutOptions Class
Stores Table View row layout settings.
Declaration
TcxGridRowLayoutOptions = class(
TcxGridCustomRowLayoutOptions
)
Remarks
The Table View can use a custom layout to display rows. You can do the following to open the Customize dialog that allows you to customize the row layout at design time:
Set the View’s RowLayout.Active property to True in the Object Inspector.
Right-click the View.
Select Customize Row Layout… in the context menu.
You can call the View’s Controller.ShowRowLayoutCustomizationDialog procedure to invoke this dialog at runtime and allow a user to customize the row layout.
The TcxGridRowLayoutOptions class members allow you to do the following:
Enable an automatically generated or custom layout for Table View rows (Active).
Append a string after each editor caption (CaptionSuffix).
Restore the automatically generated layout (UseDefaultLayout).
Enable smart cell navigation (SmartCellNavigation).
Specify how the automatically generated layout arranges editors (DefaultColumnCount and DefaultStretch).
Hide or display cell borders (CellBorders).
Set the minimum width for data items (MinValueWidth).
Access the Table View that uses the row layout settings (GridView).
Override or complement built-in draw routines (OnCustomDrawRowBackground, OnCustomDrawRowSelection, and OnCustomDrawRowHotTrack).
The Table View’s RowLayout property references a TcxGridRowLayoutOptions object.