Columns.render getting called multiple times

Columns.render getting called multiple times

moose56moose56 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

Answers

This discussion has been closed.