Noob question on Ajax call
Noob question on Ajax call
shadeoner
Posts: 7Questions: 1Answers: 0
Hi,
first of all, thanks to allan for this great tool !
I've use dataTables for a long time, and for the first time I use it with Ajax call.
But this one does not work :(
I did this :
[code]
$('.data-table').dataTable({
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "/ajax/articles",
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"sDom": '<""l>t<"F"fp>'
});
[/code]
It seems to work ... partialy : my table goes on dataTable UI, but the XHR is not call (I listened to it with Developper tools)
I dont know what happen with this, I searched for 2 hours now ....
Thank you very much
David
first of all, thanks to allan for this great tool !
I've use dataTables for a long time, and for the first time I use it with Ajax call.
But this one does not work :(
I did this :
[code]
$('.data-table').dataTable({
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "/ajax/articles",
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"sDom": '<""l>t<"F"fp>'
});
[/code]
It seems to work ... partialy : my table goes on dataTable UI, but the XHR is not call (I listened to it with Developper tools)
I dont know what happen with this, I searched for 2 hours now ....
Thank you very much
David
This discussion has been closed.
Replies
I tried everything, search everything, nothing works :(
And Im sure that's a stupid mistake
Allan