Welcome Guest Search | Active Topics | Sign In | Register

Grid header height Options
Kevin
Posted: Tuesday, May 16, 2017 2:46:52 PM
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.

eo_support
Posted: Tuesday, May 16, 2017 4:07:20 PM
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!
Kevin
Posted: Wednesday, May 17, 2017 11:42:38 AM
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...
eo_support
Posted: Wednesday, May 17, 2017 3:01:51 PM
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!
Kevin
Posted: Wednesday, May 17, 2017 3:19:47 PM
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???
eo_support
Posted: Wednesday, May 17, 2017 3:21:40 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Yes. Anything you use with background-image CSS attribute.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.