Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Column Width on GridView

Status
Not open for further replies.

LouisC4

Programmer
Jul 26, 2003
54
US
Is there a way to resize the column width on a Gridview?

Thank you

Louis
 
Yes, if you give the GridView a CssClass you can then target any of the table elements that it renders from your CSS file e.g.
Code:
.myGridView td {
   width: 200px;
}



____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top