Excel-style filtering in flexgrid

Posted by: egor.kachiguine on 10 December 2018, 10:37 am EST

    • Post Options:
    • Link

    Posted 10 December 2018, 10:37 am EST

    There’s been a request to introduce excel-style filtering in our application. The default flexgrid filter behavior is a little different. Basically, the major difference is that excel doesn’t display potential filterable values if they’ve already been filtered out by filters on other columns. How would you recommending making this adjustment to the ComponentOne filter control?

  • Posted 10 December 2018, 4:59 pm EST

    Hello,

    In order to meet your requirement using C1FlexGrid, you need to create a custom ColumnFilterEditor , override its AddValueCheckBox method and assign it as the Editor for C1FlexGridFilter.

    Please find attached sample implementing your requirement.

    Thanks,

    Ruchir

    MultiColumnFilter.zip[img]https://gccontent.blob.core.windows.net/forum-uploads/file-7992c490-3ede-49b3-a4ec-36bf80af2d4e.png[/img]

  • Posted 12 December 2018, 6:12 am EST

    Worked like a charm - thanks you.

Need extra support?

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

Learn More

Forum Channels