When rendering of split headers when using a data in the Split By field, the re-rendering on table.update adds rows
ramirezg-web opened this issue · comments
Bug Report
When rendering of split headers when using a data in the Split By field, Perspective table.update() adds rows instead of re-rendering table with updated values
Steps to Reproduce:
- Find replication of issue here: Reproduction:https://codesandbox.io/p/sandbox/serene-albattani-h96wxj
Use Perspective Viewer to render the table - await 3 seconds per the setTimeout function
- the table adds rows
Expected Result:
Expected to see table render with updated values
Actual Result:
Expected to see updated values, but new rows were added.
Reproduction:https://codesandbox.io/p/sandbox/serene-albattani-h96wxj
Environment:
Perspective 2.7.1
MacOS Ventura 13.6.1
Chrome Browser 120.0.6099.234 (Official Build) (x86_64)
Your initial data is created on the 22nd
const table = await worker.table(createData(22), {
But you update with data from the 26
const newData = createData(26);
So I think the behavior is correct? Please let me know if I'm reading this wrong