data-picker causes error on filtering
data-picker causes error on filtering
Hi!
I'm trying to setup a date-range filter with bootstrap datepicker on my dataTable.
[code]
$(document).ready(function () {
$('#dashTable').dataTable().columnFilter(
{
aoColumns: [
{
type: "date-range"
},
{
type: "text"
},
{
type: "select"
},
{
type: "select"
},
{
type: "text"
},
{
type: "text"
}
]
});
});
[/code]
When i tried to filter something it says: "TypeError: data[option] is not a function" and filtering is not working. An error does not appear when i am not using a date-range filter.
Any solution?
Thanks in advance!
I'm trying to setup a date-range filter with bootstrap datepicker on my dataTable.
[code]
$(document).ready(function () {
$('#dashTable').dataTable().columnFilter(
{
aoColumns: [
{
type: "date-range"
},
{
type: "text"
},
{
type: "select"
},
{
type: "select"
},
{
type: "text"
},
{
type: "text"
}
]
});
});
[/code]
When i tried to filter something it says: "TypeError: data[option] is not a function" and filtering is not working. An error does not appear when i am not using a date-range filter.
Any solution?
Thanks in advance!
This discussion has been closed.