When using the Editor, how can you use AJAX for loading and editing?

When using the Editor, how can you use AJAX for loading and editing?

emozioemozio Posts: 5Questions: 3Answers: 0

Dear DataTables community,

I noticed that in all the examples provided by the website, all data is retrieved from the database at page load. However, in my case this would result in having to retrieve a significant amount of data, from which only part of it is being edited. I am no expert, but this would seem inefficient in terms of performance. I've also seen PhpGrid.org and they seem to use AJAX calls for each page.

  1. Would you agree, or could someone explain why the current method is in fact more efficient?
  2. Is there a way to only retrieve data for the page that is being viewed (i.e. via AJAX calls) ?

Can someone convince me? :-)

Answers

  • emozioemozio Posts: 5Questions: 3Answers: 0

    Never mind, I realized the answer to my question could be found in the docs.
    Sorry about that! ;-)

  • allanallan Posts: 61,744Questions: 1Answers: 10,111 Site admin

    :-)

    Also server-side processing examples are available.

    Allan

This discussion has been closed.