Completed
Last Updated: 15 Aug 2019 12:21 by ADMIN
Scott Waye
Created on: 25 Feb 2016 20:08
Category: Grid
Type: Feature Request
33
bool
Allow customisation of the bool filter in grids.  I.E. implement the UI property that works for other non-checked columns.  The current filter is too wide, does not allow fontawesome characters, etc.
4 comments
ADMIN
Alex Hajigeorgieva
Posted on: 15 Aug 2019 12:21
Hello,

The Kendo UI Grid filterable menu now accepts a custom boolean ui:

FilterMenu: https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/configuration/columns.filterable.ui
Row filter: https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/configuration/columns.filterable.cell#columns.filterable.cell.template

Checkboxes are enabled as the rest of the multi checks with the multi property:

https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/configuration/columns.filterable.multi

Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Bill
Posted on: 14 Mar 2016 21:10
It's odd that I can't use a checkbox for columns.filterable.cell.template when I set grid.filterable.mode to "row". For certain boolean columns, having a minimum width is a priority. If I use icons for my headerTemplate and [client]template, it would make sense to have a narrow checkbox for filtering.  For nullable booleans, there should be some object property on whether to include nulls with false values, or alternatively with true values. 
Scott Waye
Posted on: 26 Feb 2016 11:26
Please reopen as the suggestions do not work for value based columns like bools.
ADMIN
Telerik Admin
Posted on: 26 Feb 2016 10:37
Thanks for the proposal, Scott.

Note that you can customize the UI and settings of the grid header filter cells using the following attributes from the API:

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-columns.filterable.ui 

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-columns.filterable.cell