farah92 / jquery-datatables-column-filter

Automatically exported from code.google.com/p/jquery-datatables-column-filter
0 stars 0 forks source link

columnFilter with dataTables fnRender #73

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
use fnRender with dataTables, e.g
{ "fnRender": function ( oObj ) {
    return oObj.aData[3] == 1 ? 'yes' : 'no';
    },
    "bUseRendered": true,
    "aTargets": [ 3 ]
},
2.
searching yes no will return no result (searching 0 or 1 will work but it is a 
little confusing as those are not the displayed data) 

a great workaround would be the ability to make selects with the real data as 
value and fnRender output as the displayed data in the select, e.g
type: "select", values ["0::no", "1::yes"]

What version of the product are you using? On what operating system?
dataTables 1.9.2
last columnFilter release

Please provide any additional information below.
by the way, thanks for yhe great addon :)

Original issue reported on code.google.com by virtualg...@gmail.com on 15 Jul 2012 at 5:57