|
Rank: Member Groups: Member
Joined: 3/7/2017 Posts: 20
|
I'm wondering how to make the header of the grid show more than one line of text. I can make the height of the header row larger, but the background color of the header does not stretch past the first row, and when you scroll, the part of the header that is wider by not matching the color of the first row gets overwritten with the first row of grid data.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
In the built-in styles the background of the column header is provided by images. So you will need to adjust the background image of the ColumnHeaderStyle if you wish to adjust column header height.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 3/7/2017 Posts: 20
|
Currently the ColumnHeaderStyle is as follows:
<ColumnHeaderStyle CssText="background-image:url('00050101');padding-left:8px;padding-top:3px"></ColumnHeaderStyle>
What do you mean when you say the background image needs to be adjusted. I'm not sure I understand what background-image:url('00050101') refers to...
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
You just need to change the Url to a real image Url. Here "00050101" is a "virtual" built-in image. That image has a fixed size that renders the header background image. Since you wish to change the header height, that image would have the "wrong" size for you now. As such you need to create an image yourself and use your own image instead.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 3/7/2017 Posts: 20
|
I'm not sure what you mean by an image. You mean like a .jpg???
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Yes. Anything you use with background-image CSS attribute.
|
|