TMS FNC UI Pack TTMSFNCDataGrid Auto Column Width

Hello,

I am using a TTMSFNCDataGrid linked to a database Adapter & datasource & query.

When the data is displayed, is it possible to carry out an “Auto Column Width” based on the length of data in the coloumns?

I am using Rad Studio 13 with the latest TMS packs

As usual Many thanks.

David

Hi,

This is possible by calling

  TMSFNCDataGrid1.AutoSizeColumns();
  TMSFNCDataGridDatabaseAdapter1.Update;

Hello Pieter,

Many thanks - just what I needed.

1 Like