Double Header Issue in React Spreadsheet
17 Aug 20261 minute to read
In some scenarios, the Spreadsheet header appears twice or is rendered below the data instead of at the top. This typically occurs when multiple refresh or resize actions are triggered simultaneously or in rapid succession.
Common cause:
this.spreadsheet.refresh();
this.spreadsheet.resize(); // Multiple operations queued without waitingThe image below illustrates the double header rendering issue:

Troubleshooting checklist (in order)
Follow these steps in order to diagnose and fix the double-header issue:
-
Ensure only one refresh/resize at a time: Avoid triggering multiple
refresh()orresize()actions simultaneously or before previous operations complete. -
Avoid refresh in rapid UI updates: Do not call
refresh()during frequent UI updates, loops, or multiple event triggers. -
Use lifecycle events carefully: Use event handlers (
created,actionComplete, etc.) without redundantrefresh()orresize()calls. -
Verify package version: Ensure you are using the latest version of the Spreadsheet package. Known issues related to double headers may already be resolved in newer versions.
-
Initialization & mounts: Ensure the Spreadsheet component is initialized only once and that no duplicate mounts occur in your application.
-
Inspect frozen panes and merged cells: If your Spreadsheet uses frozen panes, hidden rows, or merged cells, verify these features aren’t interfering with header rendering.
-
Inspect CSS/layout issues: Use browser developer tools to inspect and rule out CSS-related issues (position, z-index, transforms) that may visually duplicate or misplace the header.