DOTNET Datagrid

  • Thread starter Thread starter G R
  • Start date Start date
G

G R

Using Datagrid control in DOTNET. If the columns do not fill up the
grid, there is background space showing. What is the method for showing
columns that do not fill the grid to fill the grid exactly? I would
like it to be resolution dependent.
 
Hi Geoffrey,

You will need to calculate the free space to the right and either re-size
all columns proportionally, or just make the rightmost column wider to fill
up the rest of the space. This, of course, requires that you create all
DataGridColumnStyles manually.
 
Back
Top