Can I do a seperate Ajax request per row after the table has been drawn ?

Can I do a seperate Ajax request per row after the table has been drawn ?

inklinginkling Posts: 2Questions: 1Answers: 0

Currently I am pulling data from a database and building a json file that is used to display a table.

This table is basically a product table.
Two pieces of information in this table take a very long time to retrieve from the database, namely product availability and the current price.

I'd like to seperate this from the actual table rendering, and request them on a row by row basis (through ajax calls for each row).

The end result I'm looking for is a table that displays fast and the missing pieces (availability and price) get filled in after the table has drawn to the page.

I am thinking that I need rowCallback to achieve this, but I'm not getting it to work.
I also tried createdRow, but I think this is not the right way to do it.

Is what I am trying to do even possible, and if rowCallback is not the correct way to do, would someone please point me in the right direction ?

Many thanks.

This discussion has been closed.