[FlexGrid] Is it possible to format the displayed filter values?

Posted by: khandakartareq.alam on 27 May 2022, 3:17 am EST

    • Post Options:
    • Link

    Posted 27 May 2022, 3:17 am EST - Updated 3 October 2022, 11:58 am EST

    Hello Support,

    Is it possible to format the values displayed in the flexgrid filter?

    For example: The grid contains data of following.

    UK

    Germany

    Japan

    But in the filter we need display something like below:

    UK-001

    Germany-002

    Japan-002

    Only the appearance of the filter values will be changed. So that, when filtering with UK-001, the Grid will show the row consists of UK.

    Please help.

    Thank you.

  • Posted 30 May 2022, 5:05 am EST

    Hello,

    We apologize for the delayed response, Yes you can change the display values for the columnFilter. To achieve the required functionality you may use the dataMap property of the ColumnFilter to provide your custom DataMap to show the values as per your requirement on the filter. Please refer to the API link below for reference:

    https://www.grapecity.com/wijmo/api/classes/wijmo_grid_filter.columnfilter.html#datamap

    Regards

  • Posted 30 May 2022, 6:03 am EST

    Hello Sonu,

    Thank you so much.

    I was able to achieve the required functionality by using dataMap property of the ColumnFilter.

    Regards

Need extra support?

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

Learn More

Forum Channels