Radgrid Numeric data sorting problem

2 posts, 0 answers
  1. JJ
    JJ avatar
    147 posts
    Member since:
    May 2010

    Posted 10 May 2012 Link to this post

    I have a column ID, I used DataType="System.Int64" but when sorting, still shows:

     

    1,102,11,2,25,3,

    I like it to sort 1,2,3,11,25,102 like number and filter like number when using less then...

    Thanks!
  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 14 May 2012 Link to this post

    Hi,

    When the DataType is a numeric type such as "Integer" or "Double", columns are sorted numerically.However, you can skip this default sort behavior and provide your own custom sort order for a column by setting the AllowCustomSorting property of the corresponding table view. For more information about custom sort criteria you can refer to this help topic.

    All the best,
    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
Back to Top