My dbgrid will have 1 column. I want to size tha column to the whole width of the dbgrid.

How can this be accomplished at run time?

I tried dbgrid.DefColWidth = dbgrid.width, but it doesn't seem to do anything..

Thanks,

Dan