Datagrid / Columns / Autofit

  • Thread starter Thread starter myname
  • Start date Start date
M

myname

Hello,

I assign a Datatable to a Datagrid.DataSource.

All the columns are displayed with the same width.

I would like them to be set automatically to the best width (something like
Autofit in Excel).

How can I do that ?

Thanks !
 

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

Back
Top