FlexSheet events for sorting through filter menu

Posted by: holly.anderson on 22 January 2018, 12:11 am EST

    • Post Options:
    • Link

    Posted 22 January 2018, 12:11 am EST

    Hello,

    The FlexSheet has the sortingColumn and sortedColumn events, which are fired when the user sorts a column by clicking on the column header. Are there any corresponding events for when the user sorts a column using the Ascending/Descending buttons in the filter menu?

    Thanks,

    Holly

  • Posted 22 January 2018, 3:33 pm EST

    Hi Holly,

    We are sorry, no sorting event gets triggered on clicking sorting button placed in Filter dialog.

    #1 On applying sorting to the control, collectionChanged event gets triggered and you may use this event. CollectionChanged event argument’s action value gets set to 3 when there gets several items changed on sorting, grouping or filtering.

    #2 You may also handle click event for Sorting buttons within filter FilterChanging event.

    ~Manish

  • Posted 23 January 2018, 7:54 am EST

    Hi Manish,

    For option #1, is there any way to distinguish whether the collection is changed by sorting vs. filtering? If not, I’ll try option #2.

    Holly

  • Posted 23 January 2018, 4:07 pm EST

    Hi Holly,

    We are sorry, currently there is no.

    You may go with #2.

    ~Manish

Need extra support?

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

Learn More

Forum Channels