This is a migrated thread and some comments may be shown as answers.

Empty space above scrollbar

1 Answer 96 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Naresh
Top achievements
Rank 1
Naresh asked on 05 Jun 2009, 10:57 AM
Hi,
When i use radgrid with a headertemplate with scrolling, then i get empty spcae above the scrollbar (so not in sync with the styles). It happens only with firefox and its due to style "margin-right: 13px" in the header <div>.

Can you tell me is there any property that i can set, or any fix for it?

My radgrid structure (if its of any help to you)

<radgrid>
  <ClientSettings>
     <MasterTableView>
        <CommandItemTemplate>
            <Columns>
                 <GridClientSelectColumn>
                     <HeaderTemplate>
                     <ItemTemplate>

regards,
Naresh

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 05 Jun 2009, 11:30 AM
Hi Naresh,

The problem is caused by browser behavior:

http://blogs.telerik.com/dimodimov/posts/08-07-23/browser_inconsistencies_with_scrolling_and_padding.aspx

A possible workaround is to create a custom background image, which looks like the header background and set it as a background of the outer RadGrid <div>.


Sincerely yours,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Naresh
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or