Column Autosize in DbAdvGrid

Hello all



I have the following problem.

I used until now in some parts of my project the original Grid from Intraweb.

Now I use DBAdvGrid from TMS.



I put one Region.

I put one DBAdvGrid -> Align = alClient on the region.

I need one column to autosize (stretch) to fill all the width of the grid.

I put StretcColumn property = with the column index (12 lets say) but dosent work.



How can I implement this behavior?

Tks a lot

Razvan

Hi,


If you're using a client-aligned TIWAdvWebGrid control in an IWRegion, please set the Columns[].WidthType to wtPercentage for all columns to make them fill up the full width of the IWRegion.