Grid Column autosize

Moderator: Rathinagiri

Post Reply
User avatar
Posts: 178
Joined: Fri Aug 01, 2008 1:51 pm
DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
Been thanked: 7 times

Grid Column autosize

Post by karweru » Sat May 12, 2018 7:12 am


From some previous post by Rathinagiri (many thanks), functions GRIDSETAUTOCOLUMNSIZE(...) and GRIDSETAUTOCOLUMNHEADSIZE(...) are used to autosize grid columns. My question now is if it is possible to autosize a single column conditionally as below;

max( column_width_by_header, Column_width_by_Content )
Kind regards,

Post Reply