Initial sorting on date-range
Initial sorting on date-range
Hi
I'm using DataTables with the columnFilter plug-in and I was wondering if there is a way i can preset a date-range?
My table contains events, I want to show only upcoming events so I want to set the lower date-range to current date on page load.
[code]
})
.columnFilter({
aoColumns: [
{type: "text"},
{type: "date-range"}, // I want to set this lower value to current date !
{type: "select"}
]
});
[/code]
Thanks
Glenn
I'm using DataTables with the columnFilter plug-in and I was wondering if there is a way i can preset a date-range?
My table contains events, I want to show only upcoming events so I want to set the lower date-range to current date on page load.
[code]
})
.columnFilter({
aoColumns: [
{type: "text"},
{type: "date-range"}, // I want to set this lower value to current date !
{type: "select"}
]
});
[/code]
Thanks
Glenn
This discussion has been closed.
Replies
Allan