Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
315
igDataSource filtering customFunc not working
posted

I am trying to filter my igGrid data based on a combination of nested AND and OR conditions. According to these old topics that is not supported by igGridFiltering:
https://www.infragistics.com/community/forums/f/ignite-ui-for-jquery/86638/filtering-multiple-columns
https://www.infragistics.com/community/forums/f/ignite-ui-for-jquery/76333/multiple-filters-on-single-column-and-boolean-logic

One of the proposed workarounds looks to be ideal, the customFunc setting on the datasource. Here it is in the latest documentation:

https://www.igniteui.com/help/api/2021.1/ig.datasource#options:settings.filtering.customFunc

However, this function does not seem to work. Adding a console.log shows that it is not being called at all.

Demo: http://jsfiddle.net/h0sfeb8g/10/

Any other suggestions on how to apply a complex filtering are also appreciated.

Thanks