IE7 still able to support server side?
IE7 still able to support server side?
blurrblurr
Posts: 17Questions: 0Answers: 0
I have rewrite the script from MSSQL to support ORACLE. My datatable.php output is
<?
if ($_GET[type]=="ISR"){
?>
{"sEcho":0,
"iTotalRecords":"1",
"iTotalDisplayRecords":"1",
"aaData":[
["-",
"1",
"BEACH","
BEACH2
]]}
<?
}
?>
in javascript I have this
$('#liveTable').dataTable({
"bProcessing": true,
"bServerSide": true,
"sPaginationType": "full_numbers",
"sAjaxSource": "datatable.php?type=ISR"
});
The table able to display well in IE8, firefox and chrome. But it does not display the table result in IE7.
<?
if ($_GET[type]=="ISR"){
?>
{"sEcho":0,
"iTotalRecords":"1",
"iTotalDisplayRecords":"1",
"aaData":[
["-",
"1",
"BEACH","
BEACH2
]]}
<?
}
?>
in javascript I have this
$('#liveTable').dataTable({
"bProcessing": true,
"bServerSide": true,
"sPaginationType": "full_numbers",
"sAjaxSource": "datatable.php?type=ISR"
});
The table able to display well in IE8, firefox and chrome. But it does not display the table result in IE7.
This discussion has been closed.
Replies
Allan
<?
if ($_GET[type]=="ISR"){
?>
{
"iTotalRecords":1,
"iTotalDisplayRecords":1,
"aaData":[
["-",
"1",
"BEACH","
BEACH2
]]}
<?
}
?>
Now IE7 still doesn't display. show only processing...
Also the content of the array is not valid JSON.
Allan
I tried and found the problem. I have 30 column to display. but IE7 allow only until 24 columns. 25 onwards the browser will not show any data. Is there a limitation?
Allan
Good news is yes, is showing in both IE7 and IE8
$('#liveTable').dataTable({
"bProcessing": true,
"bServerSide": true,
"sPaginationType": "full_numbers",
"sAjaxSource": "datatable.php?type=ISR",
"sServerMethod": "POST"
});
but now the data doesn't have any Pagination.
What shall I do next?
:(
Do you really need server-sid processing? Are you using tens of thousands of rows?
Allan
Now I realise that when I added "sServerMethod": "POST". the $_GET['iDisplayStart'] and $_GET['iDisplayLength'] is not able to get any value from the pagination option. how can I modify to the value?