Problem while using Static Headers with scrolling

4 posts, 0 answers
  1. Dhaval
    Dhaval avatar
    41 posts
    Member since:
    Aug 2010

    Posted 11 Apr 2012 Link to this post

    Hi There,

    I am using Telerik RadGrid, and i have used scrolling option with static headers set to true, now the problem is i have rad splitter within which i have place my grid, now when i use to use RadSplitBar to minimize and maximize the pan, i get the columns that are set to "display:false". This should not be the case if i have set the values of HeaderStyle-width.

    Moreover, on each refresh/rebind of a RadGrid  what i see is my Item Table remains as it is but my Header Template moves slightly towards left, this gives an alignment problem.

    Note that when i set the Usestaticheader property to false i don't find such problems.

    Help me out with this.

    Regards,
    Dhaval Shukla
  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 13 Apr 2012 Link to this post

    Hello Dhaval,

    Note that when static headers are enabled grid columns should declare HeaderStyle-Width. Also TableLayout property of MasterTableView should be set to Fixed.

    I also suggest that you go through the online resources below:

    http://www.telerik.com/help/aspnet-ajax/grid-scroll-with-static-headers.html

    http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandsplitterresizing/defaultcs.aspx?product=grid

    Kind regards,
    Pavlina
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dhaval
    Dhaval avatar
    41 posts
    Member since:
    Aug 2010

    Posted 18 Apr 2012 Link to this post

    Hello Pavlina,

    Thanks for your response, i have already set the Header-Style Width and Master Table views TableLayout to Fixed.

    I have herewith attached the sample image of what the actual problem is while scrolling.

    Note: I have used frozen columns.

    Regards,
    Dhaval Shukla


  5. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 23 Apr 2012 Link to this post

    Hi Dhaval Shukla,

    Could you paste your aspx and code-behind (please, use the code formatter tool of the ticket editor)? Thank you.

    Kind regards,
    Pavlina
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top