Column Filter - number range filtering not working
Column Filter - number range filtering not working
Hi,
I'm trying to use the column filter plugin with datatables. Its all working correctly except for columns set to number-range. For these columns, whatever numbers I enter it always produces "No matching records found".
Here is what i'm trying:
[code]$(document).ready(function()
{
$('#jstable2').dataTable(
{
"sDom": '<"left"f><"right"l><"middle"rt><"left"i><"right"p><"clear">'
} ).columnFilter({ sPlaceHolder: "head:after",
aoColumns: [ { type: "text" },
{ type: "text" },
{ type: "number-range" },
{ type: "select", values: [ 'Yes', 'No', 'N/A'] }
]
});
});[/code]
Any idea what could be going wrong?
Thanks
I'm trying to use the column filter plugin with datatables. Its all working correctly except for columns set to number-range. For these columns, whatever numbers I enter it always produces "No matching records found".
Here is what i'm trying:
[code]$(document).ready(function()
{
$('#jstable2').dataTable(
{
"sDom": '<"left"f><"right"l><"middle"rt><"left"i><"right"p><"clear">'
} ).columnFilter({ sPlaceHolder: "head:after",
aoColumns: [ { type: "text" },
{ type: "text" },
{ type: "number-range" },
{ type: "select", values: [ 'Yes', 'No', 'N/A'] }
]
});
});[/code]
Any idea what could be going wrong?
Thanks
This discussion has been closed.
Replies
http://debug.datatables.net/ebogum