Wijmo Grid Sorting Issue

Posted by: umair.farooqi on 12 January 2021, 10:00 pm EST

  • Posted 12 January 2021, 10:00 pm EST

    Hi, I am having issues sorting date columns in my grid.
    The problem is, its sorting only the grid rows that are above the selected row.

    On image, the dull green row is the selected row.
    The rows above it are sorted properly. But the rows below are treated as a separate set of data. The sorting should apply to the whole grid on all rows.

    Refer to image for better understanding.
    Need Urgent help here
    Thanks
  • Replied 12 January 2021, 11:52 pm EST

    Hi Umair,

    We are sorry but we were unable to replicate this issue at our end. Please refer to the sample link below that we used to replicate the issue:

    https://stackblitz.com/edit/js-8ic4sy

    Please make sure that you are using date objects instead of the date string i.e the values bound to the Date In column are dates and not a string. If the values are stored in string format, then sorting will be applied on string basis.
    Also, make sure that you are not using CollectionView's sortComparer or sortConverter properties and also check whether any error is thrown in the console after sorting.

    If any of the above suggestions do not help, can you please modify the above sample so that it replicates your issue?

    Regards,
    Ashwin
  • Replied 13 January 2021, 12:04 am EST

    thanks, I will have my dev team try replicate it if possible,,
    thanks for your info
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels