Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to auto resize the columns of a gridview after loading the data

Reply
Thread Tools

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

 
 
Robson Siqueira
Guest
Posts: n/a
 
      05-01-2007
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


 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      05-01-2007
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)



Robson Siqueira wrote:
> 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
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Shipping Auto Shipping Scheduling:car moving auto transport linkswanted ASP .Net 1 11-22-2013 07:02 AM
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Align table columns with gridview columns Jacksm ASP .Net 2 11-21-2006 09:49 PM



Advertisments