How to auto resize the columns of a gridview after loading the data

  • Thread starter Robson Siqueira
  • Start date
R

Robson Siqueira

Hi,

I would like to auto resize the columns of a grid view after loading the
data. This would be basically performed using the largest size of each
column, based on the data it contains.

Do you guys know any way of doing this? This is pretty straight forward in
Windows. But it looks a little bit complicate when doing it on web.

Thanks,

Robson Siqueira
 
B

bruce barker

this is the behavior if don't set style widths. if you want to do it in
code, then its done with client script. pick up any good javascript book
and it should give you the info.

-- bruce (sqlwork.com)
 

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,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top