can fnAddDataAndDisplay() be used for serverside

can fnAddDataAndDisplay() be used for serverside

arjun_adhikariarjun_adhikari Posts: 32Questions: 0Answers: 0
edited May 2012 in General
hi Allan..
I just wanted to ask whether the plugin can be used for serverside as well...
if yes then can you point me in the right direction.

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    No - fnAddDataAndDisplay uses the fact that in client-side processing all rows are available in Javascript and makes a calculation to see which page the table should jump to to display that row. With server-side processing you don't have that information.

    What you would need to do is to have the server calculate which page the row would be one, and then tell the client-side which can jump the paging.

    Allan
  • arjun_adhikariarjun_adhikari Posts: 32Questions: 0Answers: 0
    i am OK with the added row not being shown what i want now is that the newly added row have a different background altogether that when the end user searches the records he is able to see the row added by him distinctly...
    any idea how this can be done..
    can you show me the code if possible.
This discussion has been closed.