Autofit DataGrid Columns

  • Thread starter Thread starter Sean
  • Start date Start date
S

Sean

Hello, I have a vb application in which I populate a
datagrid from a database. The grid populates fine and
the data is correct. I need to autofit the columns so
that the width of each column is as wide as the widest
element in that column. I have been looking for a good
way to do this, but nothing has worked. If you have been
able to do this before, please write the code by which
you accomplished this.

Thanks,
Sean
 
* "Sean said:
Hello, I have a vb application in which I populate a
datagrid from a database. The grid populates fine and
the data is correct. I need to autofit the columns so
that the width of each column is as wide as the widest
element in that column. I have been looking for a good
way to do this, but nothing has worked. If you have been
able to do this before, please write the code by which
you accomplished this.

<http://www.syncfusion.com/faq/winforms/search/1004.asp>
 
Back
Top