Sorting only inside filter popup (disable click on column header)

Posted by: bozjator on 8 November 2019, 5:23 am EST

    • Post Options:
    • Link

    Posted 8 November 2019, 5:23 am EST

    Hi,

    how can i disable sorting by clicking on a column header, but still be able to sort if i open column filter popup?

    Regards

  • Posted 11 November 2019, 12:00 am EST

    Hi Blaž,

    You can simply set the value of allowSorting property of the FlexGrid to false and it will prevent sorting by clicking on the header cells. The sorting will only work if it is done using the filter popup.

    allowSorting: https://www.grapecity.com/wijmo/api/classes/wijmo_grid.flexgrid.html#allowsorting

    You may refer to the sample link below:

    https://stackblitz.com/edit/js-bt18kp

    Regards,

    Ashwin

Need extra support?

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

Learn More

Forum Channels