Columns.render getting called multiple times
Columns.render getting called multiple times
moose56
Posts: 7Questions: 3Answers: 0
Hi,
I have table that is loading data via ajax. The data returned from the server only has 2 objects in it.
My table has a single column and the render method is this:
render: function (data, type, row, meta) {
return "test";
}
The 2 rows containing test are rendered correctly, however if I put a console.log line in the render function it is called 4 times.
Why might this be?
Thanks,
David.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi David,
There are a number of other discussions on this topic where I've replied with an explanation of this. For example see my reply here.
Allan
thanks Allan.