Coder Social home page Coder Social logo

Comments (4)

deinspanjer avatar deinspanjer commented on August 10, 2024

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.

kbrandl avatar kbrandl commented on August 10, 2024

@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.

deinspanjer avatar deinspanjer commented on August 10, 2024

@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.

kbrandl avatar kbrandl commented on August 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.