Add dynamic pin/unpin option to freeze RadGrid columns for static scrolling

Thread is closed for posting
1 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 02 Oct 2014 Link to this post


    Telerik Product and Version


    Supported Browsers and Platforms

    FF - current and previous
    Chrome - current and previous

    Programming language

    JavaScript, C#

    This sample demonstrates a convenient functionality to provide the end user with dynamic arrangement of the frozen columns. It contains two web site pages with different implementation so you may choose the preferred behavior.

    1. Using the first approach, the pin action will fixate all the columns to the left. And unpinning will release the columns to the right.
    Dynamic Pin Image 1

    2. The second approach uses column reordering on the client. By fixating a given column, you will move it to the end of the current frozen columns and with the unpin action, it will take the first position of the unfixed columns.

    Dynamic Pin Image 2
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.