Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82542

Initial sorting on date-range

$
0
0
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.

})
        .columnFilter({
    aoColumns: [
        {type: "text"},
        {type: "date-range"},  // I want to set this lower value to current date !
        {type: "select"}
    ]
});

Thanks

Glenn

Viewing all articles
Browse latest Browse all 82542

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>