Recent

Author Topic: TDynamicGrid - width of fixed row  (Read 423 times)

Nicole

  • Hero Member
  • *****
  • Posts: 972
TDynamicGrid - width of fixed row
« 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?

tonyw

  • Sr. Member
  • ****
  • Posts: 321
    • MWA Software
Re: TDynamicGrid - width of fixed row
« Reply #1 on: August 23, 2022, 03:47:04 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?
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.

 

TinyPortal © 2005-2018