Solved

Controlling width of the gridview

Posted on 2008-06-18
2
637 Views
Last Modified: 2010-05-18
I would like to control the width of the Gridview, preferably using code or CSS. HOw is that done? thanks
0
Comment
Question by:zachvaldez
2 Comments
 
LVL 4

Accepted Solution

by:
sajay_j earned 250 total points
ID: 21819601
. gwidth {
width:auto;
min-width:specify value;
max-width:specify value;
}

Please check this. Hope this would help. Apply to all cells.
0
 

Author Comment

by:zachvaldez
ID: 21821898
HOw about for each column only?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB.Net WebRequest Code from JSON curl 7 50
How to resize a div in html 3 35
VB.net SQLCommandBuilder Insert New Records From DataGridView 3 25
System.net.Sockets Error 5 26
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question