Column autosize/grid auto size

Hello,

There is a nice fct to autosize the column but how is it possible to autosize in the same way the grid width???

Thanks,
Phil.

Call grid.SizeToCols;