Datatables javascript vs ajax sourced data - performance

Datatables javascript vs ajax sourced data - performance

msand01msand01 Posts: 54Questions: 24Answers: 1
edited December 2016 in General

Generally speaking, with DataTables is there any performance improvement to be had from using an ajax source compared with a javascript source?
For example if you have 1000 rows with 20 columns, with a few of the columns rendered as inputs, is loading / rendering faster with an ajax source? Similarly, do the extensions perform better, say colReorder or Autofill? Is memory more of an issue with a javascript source?

Replies

  • allanallan Posts: 63,683Questions: 1Answers: 10,498 Site admin

    ajax source compared with a javascript source?

    No. For all intents and purposes they are the same performance-wise. The only difference is that the Ajax source is loaded by DataTables, while the Javascript sourced data is loaded by yourself (possibly by Ajax, possibly some other way).

    Allan

This discussion has been closed.