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

header height to big!

1 Answer 314 Views
Grid
This is a migrated thread and some comments may be shown as answers.
randall
Top achievements
Rank 1
randall asked on 07 Aug 2011, 04:55 PM
hi,
i need some help/recommendations on making the header height smaller.
it seems that when we are using static-header set to True, the header get to large.

i want the static header so can someone guide us in the right direction?.

here is some of our code:

  <div style="position: absolute; top: 220px; left: 0px; right: 0px; bottom: 0px">
                    <telerik:RadGrid ID="gridGrid" runat="server" GridLines="None" AllowPaging="True"
                        AllowCustomPaging="True" Skin="Office2007" PageSize="5" AllowMultiRowSelection="True">
                        <MasterTableView DataKeyNames="Key" AlternatingItemStyle-BorderStyle="NotSet" RowIndicatorColumn-ItemStyle-VerticalAlign="Middle"
                            RowIndicatorColumn-Groupable="True" AllowFilteringByColumn="True" AllowMultiColumnSorting="True"
                            AllowSorting="True" EnableHeaderContextFilterMenu="True" EnableHeaderContextMenu="True"
                            RowIndicatorColumn-Display="False" 


  <ClientSettings AllowKeyboardNavigation="True" >
                       
                            <Resizing AllowColumnResize="True" AllowRowResize="true" EnableRealTimeResize="True"/>
                            <Selecting AllowRowSelect="True" EnableDragToSelectRows="False" />
                            <Scrolling AllowScroll="true" UseStaticHeaders="true"/>
                        </ClientSettings>




1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 08 Aug 2011, 07:59 AM
Hello Randall,

Try setting the HeaderStyle height as shown below.
aspx:
<telerik:RadGrid ID="RadGrid1" runat="server">
<HeaderStyle  Height="10px" />
. . . .
<telerik:RadGrid>

Thanks,
Shinu.
Tags
Grid
Asked by
randall
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or