What are all of the advantages of using defer rendering with ajax data source?

What are all of the advantages of using defer rendering with ajax data source?

Savo1Savo1 Posts: 4Questions: 2Answers: 0

This page says Datatables "perform a number of performance enhancing optimisations" when defer rendering is used with ajax data source. What are those optimizations that aren't done when we use JS array source with defer rendering?

I am hoping one of those would be partial loading of data, i.e. displaying first page of the table as soon as it's been received and not wait for all of data to be transmitted. But, maybe this is not how XHR works?

Does it work like this?

Answers

  • colincolin Posts: 15,215Questions: 1Answers: 2,592

    Hi @Savo1 ,

    That page you posted links to deferRender, where there's more information.

    Cheers,

    Colin

  • Savo1Savo1 Posts: 4Questions: 2Answers: 0

    @colin Thanks, I've already read it through, I just thought that there are maybe some differences between ajax and js data source, but they look the same.

    Thanks again.

This discussion has been closed.