Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing Cascading Dropdowns with node-xlsx #196

Open
mathmartins2 opened this issue Oct 24, 2023 · 0 comments
Open

Implementing Cascading Dropdowns with node-xlsx #196

mathmartins2 opened this issue Oct 24, 2023 · 0 comments

Comments

@mathmartins2
Copy link

I'm currently working on a project where I'm utilizing the node-xlsx library to generate and manipulate Excel files. I have a specific use case where I need to create a form within an Excel sheet that has cascading dropdowns – meaning, the options available in one dropdown should depend on the user’s selection in another dropdown.

For instance, if I have a dropdown in Cell A1 with options like "Fruits", "Vehicles", and "Electronics", and another dropdown in Cell B1, I would like the options in B1 to dynamically update based on the selection in A1. So if the user selects "Fruits" in A1, B1 should only show options related to fruits, like "Apple" and "Banana".

I have been trying to figure out how to implement this functionality using node-xlsx, but I am not sure if the library supports this directly or if there's a recommended workaround.

Here are my specific questions:

Does node-xlsx support the creation of cascading dropdowns directly? If so, could you provide an example or point me to the relevant documentation?
If node-xlsx does not support this functionality directly, do you have any recommendations for how I might implement this feature, perhaps using a combination of Excel formulas or any other programming tools?

I appreciate any guidance or suggestions you can provide!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant