Page 1 of 1

[ANGULAR] How can I modify the default functionality of event filtering?

Posted: Wed Aug 14, 2024 3:24 am
by maushami

I've customized the event rendering, and now I want to add filtering based on different fields that I set during the customization, such as program (resource) number and event categories. Currently, filtering is only possible by event name.

Could you suggest how I can modify the default event filtering?


Re: [ANGULAR] How can I modify the default functionality of event filtering?

Posted: Wed Aug 14, 2024 7:15 am
by Animal

From which part of the documentation of examples do you get the impression that filtering is only possible by event name? I need to correct that part to avoid problems in the future.

See this example: https://bryntum.com/products/calendar/examples/filtering/

You can add your input field into either the tbar or the sidebar.

Then filter by absolutely any condition you want. Your filterFn simply returns true if you want to include the event, and false if you want to exclude it.