iSortCol_0 set in datatables, not passed to php ?
iSortCol_0 set in datatables, not passed to php ?
Quentin
Posts: 21Questions: 0Answers: 0
Hi,
I'm using DataTables the server side way.
First of all, when enabling Firebug, it complain about
[code]if ( json.sEcho !== undefined )[/code] line 1886 in datatable.
I searched the forum. I only found answers about Tabletools.
Secondly, all was working (Firebug disabled) until i change something (don't remember what :/ ) and sort is not working anymore.
When i check in firebug, all seems ok especially :
[quote]
...
bSortable_5 true
iSortCol_0 5
iSortingCols 1
...
[/quote]
But in my server side script, it never enter this
[code] /*
* Ordering
*/
$sOrder = "";
if ( isset( $_GET['iSortCol_0'] ) )
{
$test = "ici";
$sOrder = "ORDER BY ";
for ( $i=0 ; $i
I'm using DataTables the server side way.
First of all, when enabling Firebug, it complain about
[code]if ( json.sEcho !== undefined )[/code] line 1886 in datatable.
I searched the forum. I only found answers about Tabletools.
Secondly, all was working (Firebug disabled) until i change something (don't remember what :/ ) and sort is not working anymore.
When i check in firebug, all seems ok especially :
[quote]
...
bSortable_5 true
iSortCol_0 5
iSortingCols 1
...
[/quote]
But in my server side script, it never enter this
[code] /*
* Ordering
*/
$sOrder = "";
if ( isset( $_GET['iSortCol_0'] ) )
{
$test = "ici";
$sOrder = "ORDER BY ";
for ( $i=0 ; $i
This discussion has been closed.
Replies
Is someone having an idea on why some variables are not set in php ?
All is working but sorting is not.
Allan