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

supports batch append data validation to the worksheet #1826

Closed
JackMin1314 opened this issue Feb 27, 2024 · 1 comment
Closed

supports batch append data validation to the worksheet #1826

JackMin1314 opened this issue Feb 27, 2024 · 1 comment

Comments

@JackMin1314
Copy link
Contributor

JackMin1314 commented Feb 27, 2024

It is desirable to have functions that support batch write for data validation, especially useful in dealing with some template data validation.

Now we have those functions releated to the data validation: AddDataValidation(), GetDataValidations(), DeleteDataValidation() and so on. But they are only handled with standalone data validation which has given by the param 'sheet string' and 'dv *DataValidation'. If I want to add many data validations to the sheet, there are some repeated logic process in AddDataValidation.

Maybe we can add new function named BatchAddDataValidation(sheet string, dvs []*DataValidation) to handle quick add and optimized code.

@JackMin1314
Copy link
Contributor Author

There is no need to add BatchAddDataValidation and it goes against the principle of simplicity and efficiency of the project. This function is not included in the project, so I closed this issues

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