how to load 2000 rows quickly, each row containing an html form
how to load 2000 rows quickly, each row containing an html form

for many of my pages, i am using datatables and editor, using editor to produce the json object.
i have a products page list, each row with an 'add to cart button' in its own form with unique id.
i generated this page with a dom source (mysqli recordset ) bit it takes about 7 seconds to render (compared with less than 1 second when using ajax sourced similar data.
what is the best method to load my data ?
This discussion has been closed.
Answers
Think I've sussed it.
Use columns render to create my form with the appropriate id's from the data