AutoResize Columns to Content's Width

K

kwarnke

Anyone have a quick-and-dirty snippet that will go through each column of a
DataGrid and adjust the column style's width based on the content of that
column (i.e. the same as if you double-click between columns to
auto-resize)?

Thanks,
- Kevin
 

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

Top