Initial sorting on date-range

Initial sorting on date-range

Gl3nnGl3nn Posts: 5Questions: 0Answers: 0
edited April 2013 in Plug-ins
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

Replies

  • Gl3nnGl3nn Posts: 5Questions: 0Answers: 0
    bump
  • Gl3nnGl3nn Posts: 5Questions: 0Answers: 0
    bump
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    The column filter plug-in is not supported in these forums as it is a third party plug-in. I'd suggest you open an issue on that project's bug tracker.

    Allan
  • Gl3nnGl3nn Posts: 5Questions: 0Answers: 0
    Ok thanks anyway :-).
This discussion has been closed.