|
Rank: Advanced Member Groups: Member
Joined: 4/4/2008 Posts: 46
|
How can I change the Height of the Column Headers to allow for text wrap of the HeaderText?
I have a column with a width of 80 and I need to change the Height of the Header so that I can fit Text that is longer.
I changed the ColumnHeaderHeight property to 40 but it does nothing. I only see the first word of the HeaderText.
|
|
Rank: Advanced Member Groups: Member
Joined: 4/4/2008 Posts: 46
|
I mis-spoke...
ColumnHeaderHeight is changing when I change the property to 40 but the background image doesn't fill the full height and only the first line of HeaderText is visible.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, Please see this post for more detail: http://www.essentialobjects.com/forum/postst3060_Grid-Cell-formatting-questions.aspx#12775The question the other user had and our answer next to it should apply to your question as well. The only difference is he is working on grid cell, while you are working on grid header. However the solution is the same and you will also need to replace the image file. Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 4/4/2008 Posts: 46
|
I must be doing something wrong.
I doubled the size of the header image and saved it to a new file. Then I set BackGroundImage property in ColumnHeaderStyle to point to the file.
There is no change in the VS2005 designer or once I build and run the app.
|
|
Rank: Advanced Member Groups: Member
Joined: 4/4/2008 Posts: 46
|
I've got it fixed now... Problem was if I didn't save the aspx page before building the image was reverting to the built in.
Thanks for the help.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Cool. Glad that it's working for you!
|
|