Forum > Databases

TDynamicGrid - width of fixed row

(1/1)

Nicole:
TDynamicGrid - width of fixed row
Is there a way to adjust the width of the columns to the field names of the table automatically?

tonyw:

--- Quote from: Nicole on August 23, 2022, 12:43:51 pm ---TDynamicGrid - width of fixed row
Is there a way to adjust the width of the columns to the field names of the table automatically?

--- End quote ---
Each column in a TIBDynamicGrid has an AutoSizeColumn property. However, the purpose of this is to identify the columns that grow or shrink when the grid is resized. You need to set appropriate column sizes at design time and then decide which are the ones that should grow or shrink dynamically.

Navigation

[0] Message Index

Go to full version