Nature sorting

2 posts, 0 answers
  1. Lawrence
    Lawrence avatar
    11 posts
    Member since:
    Jun 2015

    Posted 06 Aug 2018 Link to this post


    I want to make a multiple sorting + natural sorting column. Multiple sorts are working fine but not for natural sort.

    May refer to attached image.


  2. Rumen
    Rumen avatar
    14419 posts

    Posted 09 Aug 2018 Link to this post

    Hi Lawrence,

    By default, the RadGrid will use the natural sort order from the DataSource for the non-sorted state of the column, so if are setting the DataSource object of the control with the correct sort order of that column, there should be no problems with it.
    However, since this is a string value, the sorting for that column will be based on those string values and it will not be possible to have the sorting as per your requirements.

    Regarding a custom sorting criteria, you could refer to the following help article for detailed information and example on this matter, but please note that it is difficult to maintain and to allow multi-column sorting with custom handling:

    Best regards,
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top