`
I thought the initDataTables function included a sort of document ready that draws when the page is rendered.
Changing the code to the following made everything work.
`
<?
echo $this->Html->scriptBlock($this->DataTables->draw("#users"));
?>
`
This is not really an issue but if someone is habving the same problem i think it's good to be written somewhere.
Hi @ypnos-web,
I asked you a question on the base project but indeed it was not the right place to report issues.
I have found what was not working,
my previous code :
` <? echo $this->Html->scriptBlock($this->DataTables->draw("#users")); ?>
` I thought the initDataTables function included a sort of document ready that draws when the page is rendered.
Changing the code to the following made everything work.
`
<? echo $this->Html->scriptBlock($this->DataTables->draw("#users")); ?> ` This is not really an issue but if someone is habving the same problem i think it's good to be written somewhere.
Thank you,
Stefan.