I have a blank table, I load array objects with ajax, and I want to dynamically bind the data to any row or column and render it. I knew I could go through columns:[{},{}…] , but this is a fixed column and is rendered from the first row.
But my table may have other data input, and I hope that a similar case can inspire me and help me.
@aleksandra_budnik
I tried to implement it, but every time I call hot. Render () again, the value of the cell disappears.
I think that’s because I used td.innerhtml =val.
I can’t use setDataAtCell() again, because this will trigger my render event, which is a vicious circle.
Should you have a modified assignment method?
Sorry again.
You can use the setDataAtCell but you need to define the 4th parameter. Here’s an example on how to prevent the loop https://jsfiddle.net/3h8s1x4q/ You define the source of change and add a condition to skip the loop