I want the header to be fixed. But they should move (scroll) horizontally, but not
vertically.
As it is a Telerik control I used their example (See below)
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Client/Scrolling/DefaultCS.aspx
But it is helpless to me. The same thing I have applied, But when i fixed the header with the property UseStaticHeader="True" the headers are fixed.
I have also applied the container table property style="table-layout:fixed". After that they are not moving or scrolling horizontally nor vertically.
Please try to solve my problem, I am stuck.
You can see what problem I am facing. See the image below.
Please help. Its really urgent.
7 Answers, 1 is accepted
Please copy/paste your RadGrid declaration here.
Sincerely yours,
Dimo
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
I tested the provided code snippet and the RadGrid scrolling works as expected. Please open a new support ticket and send us a simple working project, which reproduces the problem, so that we can investigate locally. Thanks.
Best wishes,
Dimo
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Hi Dimo,
I have solved my problem with the property EnableAJAXScrollPaging="true" in ClientSetting tag.
But the problem occurs at the last column. It is not moving properly. Means when I scroll the grid
Horizontally, it moves the ItemComlumn, but the header is fixed. So their gridlines disorders.
If I provide a dataset directly to the Grid with datasource, the problem is not there.
But when I take GridBoundColumns, GridEditCommandColumn ...etc the problem occurs.
See the problem below.
Image 1 :
Image 2:
Hi Dimo,
I have solved my problem with the property EnableAJAXScrollPaging="true" in ClientSetting tag.
But the problem occurs at the last column. It is not moving properly. Means
when I scroll the grid
Horizontally, it moves the ItemComlumn, but the header
is fixed. So their gridlines disorders.
If I provide a dataset directly to the Grid with datasource, the problem is
not there.
But when I take GridBoundColumns, GridEditCommandColumn ...etc
the problem occurs.
See the problem below.
Image 1 :
Image2 :
Unfortunately, I am not able to see the images that you wanted to show. As suggested earlier, please open a support ticket and attach a simple working project, which reproduces the problem. Thanks.
Regards,
Dimo
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Hi ,
I am getting this error while we are migrating from Telerik.WebControls to Telerik.Web.UI for RadGrid.
1.Type 'Telerik.Web.UI.GridScrolling' doesnot have a public property named 'EnableClickKeyValues'
2.Type 'Telerik.Web.UI.GridScrolling' does not have a public property named 'EnableAJAXScrollPaging',
I have reffered articles and added ClientDataKeyNames to MastertableView but still getting Error.
Code for Issue 1:
<MasterTableView CommandItemDisplay="Top" DataKeyNames="Guid" EnableViewState="false" Width="100%" AllowNaturalSort="false" ClientDataKeyNames="Guid">
<SortExpressions>
<telerik:GridSortExpression FieldName="RequestDate" SortOrder="Ascending" />
</SortExpressions>
<CommandItemTemplate>
Code For Issue 2:
<ClientSettings AllowColumnHide="false" AllowColumnsReorder="false" AllowDragToGroup="false"
AllowGroupExpandCollapse="false" AllowKeyboardNavigation="false" AllowRowHide="false"
ApplyStylesOnClient="false" EnableClientKeyValues="true" ReorderColumnsOnClient="false">
<Scrolling AllowScroll="false" EnableAJAXScrollPaging="false" SaveScrollPosition="false" />
Can anyone please help on this?