problem passing a parameter with server-processing

problem passing a parameter with server-processing

tumbero_xtumbero_x Posts: 63Questions: 0Answers: 0
edited August 2012 in General
Hello Friends
I have a problem
passing a parameter in this way
[code] "fnServerData":function (sSource, aoData, fnCallback) {
aoData.push({"name":"articulo_id", "value":"5" });
$.ajax({
"dataType": 'json',
"type": "GET",
"url": "server_segui_pro_cv.php",
"data": aoData,
"success": fnCallback
});

}, [/code]
and receives perfectly but by maximizing the window, I reload the data and so on
I have no idea which could be
sorry for my English
Greetings and thank you very much

Replies

  • allanallan Posts: 63,540Questions: 1Answers: 10,476 Site admin
    Do you mean you want to reload the data on resize? If you are using server-side processing, just call fnDraw on a resize event.

    Allan
  • tumbero_xtumbero_x Posts: 63Questions: 0Answers: 0
    Hi Allan, thanks for answering me recently just realized that the problem is "bScrollInfinite": true makes this problem when I leave it out and normally works, but in this case is important to the "bScrollInfinite"
    you got any idea how to solve
    Greetings and thank you very much!
  • allanallan Posts: 63,540Questions: 1Answers: 10,476 Site admin
    Off the top of my head I don't know I'm afraid. Do you know the number of records in the set? Scroller might be a better option perhaps? It is a lot more flexible and capable than infinite scrolling.

    Allan
  • tumbero_xtumbero_x Posts: 63Questions: 0Answers: 0
    one year after the records displayed can reach 1 million, and wanted to start
    "bScrollInfinite" so that the user has a better reading of the data.
    start that way scroller
    greetings and thank you very much
  • allanallan Posts: 63,540Questions: 1Answers: 10,476 Site admin
    Scroller with server-side processing will work with millions of records: http://datatables.net/release-datatables/extras/Scroller/server-side_processing.html .

    Allan
  • tumbero_xtumbero_x Posts: 63Questions: 0Answers: 0
    worked perfect
    thank you very much!
This discussion has been closed.