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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top