does draw()'s performance depends on DOM's complexity

does draw()'s performance depends on DOM's complexity

LoredraLoredra Posts: 1Questions: 1Answers: 0

I did a test where I call DataTable.draw() on a DOM with 5000 genetic appended divs. The performance is 10 times slower than normal. So does the volumn of DOM actually affect the draw function even if we specify the id?

$("#id").DataTable().rows.add(data).draw();

Answers

  • PankajKrPankajKr Posts: 1Questions: 0Answers: 0

    I want to add a custom row on click on add section and it contains two inputs and 1 checkbox after create I can reorder of row., there is any feature it's providing in datatable because already I tried but I did not any custom field form on click on another button and it will append to my existence rows.

This discussion has been closed.