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

Next-Prev button for columns in RadGrid

1 Answer 98 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Yashad
Top achievements
Rank 1
Yashad asked on 07 Jul 2016, 12:31 PM

Hi there,

I need to show next and prev button above rad grid so that when my site is open on mobile view, user can navigate to rest of the columns. Every column is given fixed width. But the issue I am facing that I must have to freeze at least one column.

Current code:

<MasterTableView DataKeyNames="UserID" HeaderStyle-Width="100px" TableLayout="Auto" CommandItemDisplay="TopAndBottom" CommandItemSettings-ShowAddNewRecordButton="false" CommandItemSettings-ShowRefreshButton="false" CommandItemSettings-NextFrozenColumnText="Next Column" CommandItemSettings-PrevFrozenColumnText="Previous Column">

 <ClientSettings>
         <Scrolling AllowScroll="true" UseStaticHeaders="true" FrozenColumnsCount="1" EnableNextPrevFrozenColumns="true" />
 </ClientSettings>

When I set FrozenColumnsCount="0", next and prev button stop working.

Kindly provide the solution so that no column would get freezed.

 

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 11 Jul 2016, 09:08 AM
Hi,

The next and previous buttons feature is available only with frozen columns. It enables you to scroll the columns with a button rather than a scrollbar.

If you would like to use the RadGrid with mobile devices you can take advantage of the Mobile RenderMode. Check out the following example that illustrates how the Grid works on mobile devices.



Regards,
Viktor Tachev
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Sharepoint Integration
Asked by
Yashad
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or