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

TcxTreeListColumnPosition.SetPosition(Integer,Integer,Boolean) Method

Moves the column within its band.

#Declaration

Delphi
procedure SetPosition(AColIndex: Integer; ARowIndex: Integer; IsInsertRow: Boolean = False);

#Parameters

Name Type
AColIndex Integer
ARowIndex Integer
IsInsertRow Boolean

#Remarks

Call this method to simultaneously change the column’s Position.ColIndex and Position.RowIndex property values. New property values are passed as the AColIndex and ARowIndex parameters.

The IsInsertRow parameter value is ignored. To make a column occupy an entire row in a band, call the SetPositionEx method and pass True as the IsInsertRow parameter.

The SetPositionEx method represents an extended version of the SetPosition method. Call the SetPositionEx method to move a column to a certain band or make this column occupy an entire row in a band.

See Also