MyDAC

TCRDBGrid.AdjustColumns Method

Call AdjustColumns method at run-time to stretch all columns in a grid so that they become wide enough to accommodate every visible field value. Widths of column captions restrict minimum column sizes for this operation.

Class

TCRDBGrid

Syntax

procedure AdjustColumns;

Remarks

Visual feedback is immediate if OptionsEx property includes dgeLocalFilter option.

Note: Since filtering is performed at session level then other data-aware controls may also be updated.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback