Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82109

Notice: Undefined index: sEcho

$
0
0
Hello all,

I test the server-side processing and I'm stuck on an issue.

The first time I load the table my data appear and everything is OK but the pagination and
the sort system don't work.

In my JSON the variable sEcho is equal to 0.
So this is a problem in my server-side code.

After debbuging, It's due to impossibility of finding all variables in GET.
All my $_GET variables is equal to null (!isset($_GET['sEcho'])).

In my client-side code I have this:
$(document).ready(function() {
                $('#dataTable').dataTable(
                        {   "bProcessing": true,
                            "bServerSide": true,
                            "sAjaxSource": "testtableau/afficheTableau2.php"
                             });
             }); 

Any solutions?

Viewing all articles
Browse latest Browse all 82109

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>