General developer forum

Problem with JQuery DataTables in Moodle 3

 
Picture of kien Vu
Re: Problem with JQuery DataTables in Moodle 3
 
You can try this 


It fixed the similar issue for me.

Cheers,

Kien

 
Average of ratings: -
Raymond
Re: Problem with JQuery DataTables in Moodle 3
 

Hi Kien,

You just might solve all my problems with jquery ui if your answer to my question is yes.

If I call this line which you provided above, will i instantly get access to the jquery ui datatables functionality? Without having to write/ build any AMD modules as prescribed in the moodle docs?

$PAGE->requires->js(new moodle_url('https://cdn.datatables.net/1.10.15/js/jquery.dataTables.min.js'),true);

 
Average of ratings: -