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

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top