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

Set datatable editor datetime field max and min date

$
0
0

Hi,

I am using datatable editor. I use datetime field like this in editor initialization
{
label: "Start: ",
name: "Start",
type: "datetime",
opts: {
minDate: new Date($("#CampaignStartDate").val()),
maxDate: new Date('2018-08-21')
},
}

Now I would like to be able to set the minDate and maxDate dynamically using javascript. How can I do that?

Thank you very much for your help

Jerry


Viewing all articles
Browse latest Browse all 82610

Latest Images

Trending Articles



Latest Images

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