Next-Prev button for columns in RadGrid

2 posts, 0 answers
  1. Yashad
    Yashad avatar
    6 posts
    Member since:
    Jul 2015

    Posted 07 Jul 2016 Link to this post

    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">

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

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

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


  2. Viktor Tachev
    Viktor Tachev avatar
    2499 posts

    Posted 11 Jul 2016 Link to this post


    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.

    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.
Back to Top