Posted 15 February 2022, 7:42 am EST
How can I autosize all columns in a C1List control?
Forums Home / ComponentOne / WinForms Edition
Posted by: luis_carlosh on 15 February 2022, 7:42 am EST
Posted 15 February 2022, 7:42 am EST
How can I autosize all columns in a C1List control?
Posted 15 February 2022, 5:58 pm EST
Hi,
You can use the AutoSize method of the C1DisplayColumn class to automatically resize the column to accommodate the longest visible field within that column. Kindly refer to the attached sample showing the same.
Regards.
Avnish