Autofit Datagrid Column Width

J

Jon

Hi there,

Is there anyway to "autofit" a column in an ASP .Net datagrid based on the
length of the data that will be displayed in the grid ?(Similar to the way
Excel does it's autofit command on columns) I know about using a BoundColumn
and setting the width there by pixel or percent, I was just curious as if
there was a way to handle this in code or by setting a propery.
 

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

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top