Creating cell headers at specific cells #3028

Closed
opened 2023-11-16 16:46:31 +00:00 by CharanGIS · 1 comment

Could someone please point me on how I can add headers and values at specific cell? Could someone point me to the direction of where i can find the property/method of doing so?
I'm trying to achieve an excel file like below:
image

Could someone please point me on how I can add headers and values at specific cell? Could someone point me to the direction of where i can find the property/method of doing so? I'm trying to achieve an excel file like below: ![image](/attachments/2a10ab69-6e1b-4a28-a18c-fc39853c860a)
Owner

https://docs.sheetjs.com/docs/api/utilities/array include a few examples using sheet_add_aoa and sheet_add_json to build up more complex layouts.

The "Multi-table Export Example" from https://docs.sheetjs.com/docs/api/utilities/html#add-to-sheet is similar to your ask.

The sheet_add_ family methods accept an origin argument which specifies where cells should be written.

If you would like more guidance, share sample JSON data and a sample output.

https://docs.sheetjs.com/docs/api/utilities/array include a few examples using `sheet_add_aoa` and `sheet_add_json` to build up more complex layouts. The "Multi-table Export Example" from https://docs.sheetjs.com/docs/api/utilities/html#add-to-sheet is similar to your ask. The `sheet_add_` family methods accept an `origin` argument which specifies where cells should be written. If you would like more guidance, share sample JSON data and a sample output.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#3028
No description provided.