Row Order Problem

Row Order Problem

mervemerve Posts: 3Questions: 0Answers: 0
edited December 2012 in General
Hello,
I am filling a datatble with following code:

$.each(responseFromServer, function() {
$('#table').dataTable().fnAddData(getRow(this));
console.log('in loop'+this.subject+'\n');
});


i can see on console,

in loop first
in loop second
in loop third

but after that in datatable

rows come as

second
first
third


What may cause this, i do not think i can provide a regeneration js fiddle.
This discussion has been closed.