Different Sorting Functions for Different Groups

2 posts, 0 answers
  1. Ralph
    Ralph avatar
    33 posts
    Member since:
    Oct 2012

    Posted 06 Jan 2014 Link to this post


    I would like to have different sorting functions for different groups.

    For my cases, the events are grouped either by current, past and future group based on the time of the event.

    For Current and Future Events, they should be sorted in Ascending Order.
    For Past Events, they should be sorted in Descending Order.

    I have manually sorted the list first before inserting into the list view as datasource

    The group and fixedHeaders work field work perfectly on iOS.
    On Android, however, the items order changed.

    Do we have any ways to fix this?

  2. Kiril Nikolov
    Kiril Nikolov avatar
    2543 posts

    Posted 07 Jan 2014 Link to this post

    Hi Ralph,

    I am not really sure what is the cause for this issue. Could you please extract a runnable sample, showing the issue, so we can take a look at it?

    Thank you in advance for your cooperation.

    Kiril Nikolov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top