Comments (4)
Maybe part of my problem was that there doesn't actually seem to be any React in Script Lab at the moment.
I did find some docs and put together the following partially working snippet:
https://gist.github.com/deinspanjer/2f66e023b056cd5cf97b267209ea57e5
What I want to do with it is the following:
- Clickable names to allow easy organization and jumping to a sheet
- Multi-select with an option to hide or unhide groups of them
- Pay attention to the color coding of sheets, either for organization, or just to show and set it in the add-in UI
from office-js-snippets.
@deinspanjer -- thanks for reaching out about this. Script Lab does not currently support React, and as far as I'm aware, there are no near term plans to add support for React. I'm not entirely sure whether or not it would be useful for your scenario, but it looks like CodeSandbox (https://codesandbox.io/) may be an online code editor that you could use as a playground (instead of using Script Lab) to develop the type of snippets that you've described (it supports adding dependencies). Please note that CodeSandbox is not a Microsoft product and I have no firsthand experience using it (so this is not a formal endorsement, but rather, merely a suggestion of something you might consider looking into).
from office-js-snippets.
@kbrandl That is okay. I've been doing pretty well with building upon the example of fabric usage. React was just the path I mistakenly headed down while reading introductions to the Office JS API in general. I'll stick with Script Lab for now, and if I get a little spare time, I'd like to contribute a version of that gist as a further example of using fabric in Excel.
from office-js-snippets.
Thanks for the update, @deinspanjer. Glad to hear that you're making progress and we look forward to your potential contribution here in the days ahead.
from office-js-snippets.
Related Issues (20)
- Sort Table Data snippet uses inappropriate Sort object
- 'Create a named item' snippet throws error when running more than once HOT 3
- Error with "Find text matches within a range", Excel.SearchDirection doesn't exist in release version HOT 3
- Color Wheel "Just for fun" sample has errors HOT 4
- Modify "gradients" sample to make use of setCellProperties HOT 2
- Unable to call fetch HOT 9
- Getting range from argument example HOT 4
- onSelectionChanged event - sample request HOT 5
- Pivot Table Samples are broken HOT 9
- Identifier a cell in excel HOT 7
- PowerPoint Shape and Tag APIs should be moved out of the preview folder
- Outlook Add-in Compose - Dynamic Control Button Text Updating HOT 1
- EWS SOAP request to fetch ICalUid HOT 2
- PowerPoint Shapes API preview bug when working with multiple shapes HOT 1
- Bug in Find text matches within a range HOT 3
- Get image from PowerPoint document HOT 9
- This repo is missing important files
- Error at context.sync() HOT 16
- loadCustomPropertiesAsync example doesn't work any longer. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from office-js-snippets.