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

  • Thread starter Thread starter Robson Siqueira
  • Start date 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
 
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)
 
Back
Top