-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined index: draw #3
Comments
Hi, in the official datatables doc ,it is mentioned that the function of the "draw" index is to draw the counter. |
Thanks for the quick reply. Do you have any examples of how to send the CSRF tokens with the Ajax request? |
Okay,I see. $('#fullTable').DataTable({
"aoColumnDefs": [{
"bSortable": false,
"aTargets": [ 0,1 ]
}],
"order":[],
"serverSide":true,
"ajax":{
url:"<?=base_url('home/fullTable')?>",
type:'POST',
data : {
<?=csrf_token()?> : "<?=csrf_hash()?>"
}
}
}); In the user guide,other configurations will be explained in detail, thank you. |
I tried to follow the guide and get the following error
Undefined index: draw
Not sure what the problem is?
The text was updated successfully, but these errors were encountered: