in github issues someone mentioned to use getData()[][]
instead of setDataAtCel
cuz it triggers render everytime you call it.
d3.csvParse(reader.result, function(data){
for(var hi = 0 ; hi < headers.length; hi++){
// hot.setDataAtCell(column,hi,data[headers[hi]]); //this works as expected but takes about 2-3min
hot.getData()[hi][column] = data[headers[hi]];
console.log( hot.getData()[hi][column]); // goes from null to undefined!
console.log( data[headers[hi]]); // correct value
}
column++;
}
the problem is this doesnt change the array just makes it undefined!
im confused. whats the problem?