$fromInput.datepicker is not a function yadcf on datatables -


i trying use range_date column in yadcf, get:

$frominput.datepicker not function 

my code:

var table = $('#{{ table.opts.id }}').datatable({         "buttons": [             'csv', 'excel', 'pdf', 'print'         ],            ....          }).yadcf([         {           column_number: 0,           filter_type: "range_date",           date_format: "mm/dd/yyyy",           filter_delay: 500         },         {           column_number: 1,           filter_type: "text",           filter_delay: 500         },         {             column_number: 2,             filter_type: "text",             filter_delay: 500         },         {           column_number: 3,           filter_type: "text",           filter_delay: 500         },         {           column_number: 4,           filter_type: "text",           filter_delay: 500         },     ]); }); 

and import following files:

  <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">     <link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.2.1/css/buttons.datatables.min.css">     <script src="//code.jquery.com/jquery-1.12.3.js"></script>     <script src="https://cdn.datatables.net/1.10.12/js/jquery.datatables.min.js"></script>     <script src="https://cdn.datatables.net/1.10.12/js/datatables.bootstrap.min.js" ></script>     <link href="https://cdn.datatables.net/1.10.12/css/datatables.bootstrap.min.css" rel="stylesheet" type="text/css" />     <!-- export buttons -->     <script src="https://cdn.datatables.net/buttons/1.2.1/js/datatables.buttons.min.js" ></script>     <script src="https://cdn.datatables.net/buttons/1.2.1/js/buttons.flash.min.js" ></script>     <script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/2.5.0/jszip.min.js" ></script>     <script src="https://cdn.rawgit.com/bpampuch/pdfmake/0.1.18/build/pdfmake.min.js" ></script>     <script src="https://cdn.rawgit.com/bpampuch/pdfmake/0.1.18/build/vfs_fonts.js" ></script>     <script src="https://cdn.datatables.net/buttons/1.2.1/js/buttons.print.min.js" ></script>     <script src="https://cdn.datatables.net/buttons/1.2.1/js/buttons.html5.min.js" ></script>     <script type="text/javascript" charset="utf-8" src="/static/datatable/jquery.datatables.yadcf.0.8.9.js"></script>     <link href="/static/datatable/jquery.datatables.yadcf.0.8.9.css" rel="stylesheet" type="text/css" /> 

what missing?

you missing jquery ui library - make sure got jquery ui slider inside js, can from here


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -