sorting cause horizontal scroll bar to reset

8 posts, 0 answers
  1. Jerry Kurata
    Jerry Kurata avatar
    92 posts
    Member since:
    Feb 2010

    Posted 08 Feb 2011 Link to this post

    Hi,

    I have a grid with a lot of columns (20+) and when you sort on the column the horizontal scroll bar resets to the left most position which often hides the column you just sorted (or filtered) on.  I read this was fixed in the Q3 2010 build which we have installed, but the problem persists.  Note, we also freeze several of the columns.

    jerry
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 09 Feb 2011 Link to this post

    Hi,

     Please use our latest service pack - Q3 2010 SP1. You can try our demos to see that the is fixed. 

    Greetings,
    Vlad
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. Amorphous2010
    Amorphous2010 avatar
    4 posts
    Member since:
    Aug 2009

    Posted 18 Mar 2011 Link to this post

    Hi,
    I switched to the Q1 2011 release and this seems to no longer be an issue. However, a new issue seems to have arisen (I suppose I can submit a bug report):  When you click a header to sort, the horizontal scrolling no longer happens but the column widths seem to change after clicking the same header several times. You can try with this partial grid (that first select column seems to enlargen):


    <tk:RadGridView x:Name="searchResultsGrid"
        tk:StyleManager.Theme="Office_Black"
        AutoGenerateColumns="False"
        IsReadOnly="True"
        ItemsSource="{Binding SearchResults}"
        Margin="10,2,10,10"
        RowIndicatorVisibility="Collapsed"
        SelectionMode="Extended"
        SelectionUnit="FullRow"
        ShowGroupPanel="False">
        <tk:RadGridView.Columns>
            <tk:GridViewSelectColumn />
            <tk:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Name" UniqueName="Name" />
            .
            .
            .
            <tk:GridViewDataColumn DataMemberBinding="{Binding Zip}" Header="Zip" UniqueName="Zip" />
        </tk:RadGridView.Columns>
    </tk:RadGridView>

     

  4. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 21 Mar 2011 Link to this post

    Hi,

     Column width will be changed according to cells data - you can hardcode desired width in pixels if you do not want this. 

    Greetings,
    Vlad
    the Telerik team
  5. Steven
    Steven avatar
    39 posts
    Member since:
    Jul 2012

    Posted 28 Feb 2013 Link to this post

    Hi,

    I am having the same issue as the original post (sorting causes the horizontal scroll bar to reset).

    This was working until we switched from binding from decimal values to a custom object and setting the SortMemberPath property.

    Any help would be greatly appreciated.

    Thanks,

    Steven
  6. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 28 Feb 2013 Link to this post

    Hello,

     Can you post more info about your version? Are you using our latest Q1 2013?

    Greetings,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  7. Steven
    Steven avatar
    39 posts
    Member since:
    Jul 2012

    Posted 28 Feb 2013 Link to this post

    Hi Vlad,

    We are using the release prior to Q1 2013 (though we are planning on updating shortly).,

    Steven
  8. Vera
    Admin
    Vera avatar
    268 posts

    Posted 05 Mar 2013 Link to this post

    Hi Steven,

     
    We have tried to reproduce the problem but to no avail. Please find attached the project used for the test. Are you able to get the described behavior on it? 

    Regards,
    Vera
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top