How do I auto size my columns so that the columns take up the entire area of my grid width.
I''m using the ResizeToFit method, and I''ve tried all the GridResizeToFitOptions, but my column data does not push out the columns enough to fill the grid.
ADAdministrator Syncfusion Team September 1, 2004 04:32 AM
You may want to post your Essential Grid questions in our Grid Forum.
Currently, there is no property that will allow the grid to fill the client area. If you want this behavior, one way is to dynamically size the right-most column to fill up any empty space. This will let the default sizing (or explicit sizing if you want it) work for the other columns. You do this in QueryColWidth. Here is a forum link that discusses this.
If you want all columns to grow and contract as you size the grid, you can also do this in QueryColWidth. The Grid\Samples\DataBound\GridDataBoundImageCell has code that does this.