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

Horizontal Scrollbar on Grid

1 Answer 43 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rahul
Top achievements
Rank 1
Rahul asked on 19 Jan 2014, 11:52 AM
Hi,
                   I Want to Horizontal Scroll bar on Grid but i have problem they not shown on grid. I use following client setting property of a grid.
 <ClientSettings >
               <Selecting AllowRowSelect="true" />
               <Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true" />
              <Resizing AllowColumnResize="True" AllowRowResize="false" ResizeGridOnColumnResize="false"
      ClipCellContentOnResize="true" EnableRealTimeResize="false" AllowResizeToFit="true"   />
   </ClientSettings>

please provide solution on it.
Thanks,
Rahul



1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 20 Jan 2014, 04:43 AM
Hi Rahul,

Note that when scrolling is enabled and UseStaticHeaders is True, the grid columns should declare HeaderStyle.Width.
You can set it common as follows:

ASPX:
<MasterTableView>
 <HeaderStyle Width="200px" />
  <Columns>

Or you can set it for each columns as follows:

ASPX:
<telerik:GridBoundColumn UniqueName="ID" DataField="ID" HeaderText="ID">
  <HeaderStyle Width="200px" />
</telerik:GridBoundColumn>

Thanks,
Princy
Tags
Grid
Asked by
Rahul
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or