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

[Feature request] Provide options for data validation drop list #8

Open
gltjk opened this issue May 11, 2023 · 2 comments
Open

[Feature request] Provide options for data validation drop list #8

gltjk opened this issue May 11, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@gltjk
Copy link

gltjk commented May 11, 2023

Description

I am trying to replicate the official dependent drop list example with excelize-wasm but I can't provide items for the drop list.

In the type definition of DataValidation it can be seen that there's no place for list options -- none of the types are arrays.

According to the documentation, the correct way of providing options in Go is .SetSqrefDropList method but I cannot find its counterpart in JavaScript.

Is it not implemented yet or have I missed something?

Steps to reproduce the issue:

  1. N/A

Describe the results you received: There is no way to provide drop list options.

Describe the results you expected: There is a way to provide drop list options.

Output of node -v: v20.1.0

Output of npm -v: 9.6.4

Output of go version: go version go1.20.4 darwin/amd64

Excelize version or commit ID: excelize-wasm@0.0.3

Environment details (OS, Microsoft Excel™ version, Browser version, physical, etc.):

OS: macOS 13.3.1 (22E261)
Excel version: 16.73 (23050701)
@gltjk gltjk changed the title Provide options for data validation drop list [Feature request] Provide options for data validation drop list May 11, 2023
@xuri
Copy link
Owner

xuri commented May 12, 2023

Thanks for your issue. This package doesn't support this currently. I'll add this feature later.

@xuri xuri added the enhancement New feature or request label May 12, 2023
@Jangts
Copy link

Jangts commented Jun 8, 2023

I engaged the same problem. I set kinds of values to the property Formula1 while the type was list, but none of them worked.

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

No branches or pull requests

3 participants