DataTables Editor: possible to use AjAX calls for retrieving data?

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? 🙂


Source: ajax

Leave a Reply