We help IT Professionals succeed at work.

How can I hide a grid column header?

sbornstein2
sbornstein2 asked
on
2,322 Views
Last Modified: 2008-01-09
I have a column that is using a buttin in a gridview.  The grid has a CSS Class on it and the header turns blue.  How can I make the one column not be blue or hidden?
Comment
Watch Question

Commented:
If you know what column it is, its easy to hide a gridvew column by the following statement...

MyGridView.Columns[0].Visible = false;

Author

Commented:
i dont want to hide the column just the header somehow.  I can set it to white but I would rather see if I can somehow just make the header invisible
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.