Documentation states that “If you want to parse data in addition to the existing dataset, specify position of parsing, namely the index from which you insert new data:”
$$(“datatable”).parse({
pos: indexToStart,
data:dataset
});
If indexToStart equals to any number greater then zero and less then $$(“datatable”).count() - everything works as expected, old rows get updated according to parsed data. But if indexToStart = 0, then a new row is added, instead of an old one being updated. I suspect that there is a line like
if(params.pos)
//update records;
else
//insertRecods;
and it fails in situations where 0 is cast to false.