problem with Server-side processing
problem with Server-side processing
AndreSnake
Posts: 4Questions: 0Answers: 0
i have table
[code]
Visits
IP Address
Loading data from server
[/code]
and javascript
[code]
$('#tabIPs').dataTable({
"bServerSide": true,
"bProcessing": false,
"sAjaxSource": "StatisticHandler.ashx"
});
[/code]
my hadler return such data
[code]
{"sEcho": 1, "iTotalRecords": 39797, "iDisplayLength": 39797, "aaData": [["1","1.22.24.188"],["1","1.23.63.81"],["2","1.46.181.86"],["2","1.46.197.255"],["1","1.47.197.112"],["1","108.1.32.220"],["3","108.11.34.158"],["1","108.112.247.242"],["1","108.112.87.187"],["1","108.114.35.39"]] }
[/code]
in the page my table has 10 rows. in the bottom stroke:
Showing 1 to NaN of und,efi,ned entries (filtered from 39,797 total entries)
the paging buttonth not fire any events.
where my mistake?
thanks
[code]
Visits
IP Address
Loading data from server
[/code]
and javascript
[code]
$('#tabIPs').dataTable({
"bServerSide": true,
"bProcessing": false,
"sAjaxSource": "StatisticHandler.ashx"
});
[/code]
my hadler return such data
[code]
{"sEcho": 1, "iTotalRecords": 39797, "iDisplayLength": 39797, "aaData": [["1","1.22.24.188"],["1","1.23.63.81"],["2","1.46.181.86"],["2","1.46.197.255"],["1","1.47.197.112"],["1","108.1.32.220"],["3","108.11.34.158"],["1","108.112.247.242"],["1","108.112.87.187"],["1","108.114.35.39"]] }
[/code]
in the page my table has 10 rows. in the bottom stroke:
Showing 1 to NaN of und,efi,ned entries (filtered from 39,797 total entries)
the paging buttonth not fire any events.
where my mistake?
thanks
This discussion has been closed.
Replies