You can create your own filtering tool and use it instead of the built-in tools, or along with them. Usually all you need to implement such a filter is to insert an HTML code representing your filter form into a template, instruct PHP Generator to use the new template within the OnGetCustomTemplate event handler and handle entered parameters within the OnPreparePage event handler. In the example below we created a filter which allows you to filter countries by life expectancy.

Technical details are as follows (click a link below to see the appropriate code):

- OnGetCustomTemplate event handler code.
- Customized grid toolbar template including the custom filter template which contains a code of the filter form.
- OnPreparePage event handler code.

An advanced version of this filter is represented on this page.