Sort orderging

Posted by: eomeroff on 29 January 2018, 3:21 pm EST

  • Posted 29 January 2018, 3:21 pm 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 20 February 2018, 3:27 am EST

    Hi,

    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 : https://www.grapecity.com/en/forums/wijmo
  • Replied 20 February 2018, 6:13 am EST

    Hi,

    I am using wijmo 5 and wj-flex-grid

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


    Hi,
    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 same.ColumnSortOrder.zip
Need extra support?

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

Learn More

Forum Channels