How to get Table control to auto resize its columns?
June 03, 2022 02:09PM
Hello,

I have implemented a on screen report in which I am adding columns to table at runtime.

Every thing is working fine but at time when there are many columns some of the columns become so narrow that their contents are not readable and the user has to manually double click on the column header separator to auto size all columns in table.

Can we get Table control to auto size its columns after populating data in them?

TIA

--
Yogi Yang



Edited 1 time(s). Last edit at 06/03/2022 02:11PM by YogiYang.
pao
Re: How to get Table control to auto resize its columns?
June 03, 2022 02:16PM
Try with TableAdjust

[doc.windev.com]

Regards

Paulo Oliveira
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: