Multicolumn Sort with Custom Sort

2 posts, 0 answers
  1. Kevin White
    Kevin White avatar
    60 posts
    Member since:
    Jun 2004

    Posted 20 Apr 2009 Link to this post

    I am programmatically adding Sort Expressions to my RadGridViewafter I populate it with data. However, the grid is having problems sorting onmore than 2 columns. Sorting by the first two acts as expected, but once athird expression is added to the collection, it takes precedence as if it werethe 2nd place Sort Expression. The SortExpressions collection is still intactand has the expressions in the order in which I'd like them sorted, but it isnot working as expected at all.

     

    In essence, once the first two columns are chosen to be sortedby, they should stay "frozen" while the third column sorts itselfbased on the previous two sorts. However, the third column not only sortsitself, but is rearranging some of the rows previously sorted by the secondsort expression.

     

    This also happens when using the client side to select more than2 columns to sort by.

     

    Some background info on my project:

    - Grid is Unbound, data population happens programmatically.

    - The above issue seems to only happen with columns that use acustom sort operation.

    - I am using Telerik Winform versions 8.2.0.0 (Willupdating to latest will fix this?)

    - Application is developed and run in Visual Studio 2008 with C#

     

    ** I will/can provide snippets of code, but I will not give you my whole application, that is beyond my allowance and unnecessary.

  2. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 23 Apr 2009 Link to this post

    Hi Kevin White,

    Please try the latest version of RadGridView for this scenario.

    If you continue to have an issue, please open a new support ticket and send us a sample project which reproduces it. Thank you in advance.

    Greetings,
    Julian Benkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top