Posted 5 July 2021, 6:18 am EST
Hello,
I discovered SpreadJS with React last week and went through most demos and documentation but there are few things I need to be able to do before choosing this library, that I am not sure are possible as I couldn’t find them.
-
Is there a way to place a custom button into a tab box (where you are switching between sheets)?
-
How to listen to an event when user clicks the “add new tab” button (+). I want to override the default functionality (adding new sheet) with my own functionality (adding some modal window etc).
-
Is it possible to input custom React component inside a cell? I want to place a ReactSelect inside a cell. I am aware you have some Dropdowns “Lists”, but that is not very customisable (user can’t filter options by typing or add a new option, I’m not sure if they are style-able). So using a custom React component would be preferred to my needs.
-
Is it possible to add a “formula bar” in between sheet and the tabs? So I would need to be able to move tabs row a litter further away from the sheet, to be able to place my own custom row (with some added functionality) in between.
Thank you for your reply,
Kind regards,
Kristina
I include picture to make it clear what I want - my custom formula bar would be between tabs bar and spreadsheet.