Sort Icon for custom column headers

Posted by: selvakumar.periyasamy on 11 October 2017, 6:11 am EST

  • Posted 11 October 2017, 6:11 am EST

    Hi

    I have been working on wijmo Flexgrid for angular 2 using custom column headers in my grid with custom filter icon. On click of the filter Icon I’m triggering the filter pop so that the filter poup opens. I have a small problem when the popup is opening the sorting is also triggered because of the click of the filter icon on the header.

    I don’t want the sort to be triggered when clicked on filter Icon instead I want to have a separate icon to trigger the sort, how do i achieve this?

  • Posted 12 October 2017, 5:50 pm EST

    Hi,

    You can prevent sort for FlexGrid by setting allowSorting to false. Now, you can add the custom icon for sorting same as Filter.On icon click, clear current sortDescriptions for CollectionView and push sortDescriptions for current column.

    ~Manish

Need extra support?

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

Learn More

Forum Channels