Filter with type:'text' is correct and work fine. But filter with type:'select' is incorrect! In other hand when I select Yes filter is work and data filtered, But when select No result is empty.
I test select value with 0,1 and true,false. In both ways, option with true or 1 value is correct but option with 0 or false value is incorrect.
I'm using Angular datatable in Server side processing mode(Ajax) And use Light Column Filter plugin to filter data in each columns.
HTML
<table datatable dt-options="dtOptions" dt-columns="dtColumns"></table>
Datatable config
create columns
Filter with
type:'text'
is correct and work fine. But filter withtype:'select'
is incorrect! In other hand when I select Yes filter is work and data filtered, But when select No result is empty.I test select value with
0,1
andtrue,false
. In both ways, option with true or 1 value is correct but option with 0 or false value is incorrect.In your opinion, where is the problem?