Sort orderging

Posted by: eomeroff on 29 January 2018, 6:21 am EST

  • Posted 29 January 2018, 6:21 am EST

    How to find out if sort was ASC or DESC programmatically.
    For example in sorting Column and sort Column handlers? Or in any other way in the code.

    My problem is that I want to remember which column was sorted and what was the ordering.
  • Replied 19 February 2018, 6:27 pm EST


    Sorry for the late reply. Could you please let provide the following information so that I can suggest you a solution accordingly

    1. Are you using Wijmo 5 or Wijmo 3?
    2. Which Control are you using ?

    I would request you to post your further queries on the Wijmo Forum as this forum is archived and your queries may be missed.

    Wijmo 5 Forum Link :
  • Replied 19 February 2018, 9:13 pm EST


    I am using wijmo 5 and wj-flex-grid

    Thank you.
  • Replied 21 February 2018, 12:35 am EST

    You can use check the sort order of a column by using currentSort property of column.
    If you want to get all the currently sorted columns then use sortDescriptions property of CollectionView.

    A sample demonstrating the use of both is attached.Please refer to
Need extra support?

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

Learn More

Forum Channels