You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our server sends down an array of data and a corresponding array of cell metadata. Setting cell metadata for all cells is a cumbersome process right now. We have to:
Load all the data for the table (we do this via updateSettings, but the mechanism shouldn't matter). This triggers a table render.
Manually loop through all cells and use the setCellMeta method.
Manually trigger another table render (since for us, metadata influences how cells should be rendered with our custom renderer) with hot.render().
Ideally, we would be able to do this:
hot.updateSettings({
data: data, // This is a 2D array.
meta: metadata // This is a 2D array.
});
Does that sound possible? Is there another way to accomplish this?
The text was updated successfully, but these errors were encountered:
Our server sends down an array of data and a corresponding array of cell metadata. Setting cell metadata for all cells is a cumbersome process right now. We have to:
updateSettings
, but the mechanism shouldn't matter). This triggers a table render.setCellMeta
method.hot.render()
.Ideally, we would be able to do this:
Does that sound possible? Is there another way to accomplish this?
The text was updated successfully, but these errors were encountered: