Apply filter on a specific column on grid init

Posted by: rizwan on 19 February 2020, 8:45 am EST

    • Post Options:
    • Link

    Posted 19 February 2020, 8:45 am EST

    Hi,

    I am using wijmo enterprise and currenly i need to apply filter on grid init on specific columns based on values coming from back end. It should then show those entries in filter popup. I have gone through a couple of example but i am unable to achieve what i am trying to do. I have tried with filter definition but it does not seem to work. Can you guys please share an example of such use case where user does not have to apply filter manually rather it is applied on predefined values on client side?

  • Posted 20 February 2020, 1:43 am EST

    Hi Rizwan,

    You can apply filtering programmatically by using the various classes provided in the wijmo.grid.filter module. Please refer to the sample below for reference:

    https://stackblitz.com/edit/angular-4tdsth

    Regards,

    Ashwin

  • Posted 20 February 2020, 1:58 am EST

    Hi Ashwin,

    This is exactly what i was looking for. Thanks mate :slight_smile:

Need extra support?

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

Learn More

Forum Channels