Adding multiple elements to fngetNodes()
Adding multiple elements to fngetNodes()
ssurajita111
Posts: 14Questions: 6Answers: 0
Hi Allan,
I have an array containing few <tr> elements. I want to add this array to fnGetNodes(i.e. oTable.fnGetNodes()). Can we do that without any performance issue?
As I have seen fnUpdate is taking lot of time and I believe fnAddRow is also gonna take the same time. please let me know if any alternative solution is there.
Soumya
This discussion has been closed.
Answers
Adding the
tr
elements to the array returned fromfnGetNodes()
wouldn't add them to the table. They would just add them to that array.If you want to add rows efficiently, use the new API -
rows.add()
.Allan