-
Notifications
You must be signed in to change notification settings - Fork 215
Validation not working for multiple columns #94
Comments
Thanks for the gist. I'll also look into why the pageMargins element is in there as well |
Hi there, I am wondering if there any updates to this? I would really like to get validations added to our spreadsheets. Thanks again for an awesome tool! |
You have in dataValidation.js: function addToXMLele(ele) {
let valsEle = ele.ele('dataValidations').att('count', this.length);
this.items.forEach((val) => {
val.addToXMLele(valsEle);
});
valsEle.up();
} It must be: function addToXMLele(ele) {
var valsEle = ele.ele('dataValidations').att('count', this.length);
this.items.forEach(function (val) {
val.addToXMLele(valsEle);
valsEle.up();
});
} |
Why this code is not present in current master branch. |
@sunilpatel2, sorry for the delays on handling PRs and issues. I had written this module while working at a previous employer while leading software development for a project that required the functionality. Once I left that employer in July 2016, my hopes were that my old employer would be able to continue maintenance of the module. Sadly, that did not happen. I asked for the repo to be transferred back to me and that happened this week. I am slowly going through the backlog of PRs and issues, but since I will essentially be doing this in my spare time, it is not going to be an immediate process. This weekend is a long weekend in the USA where I live and I am hoping to get through a lot of this backlog and release a new version of the module to the npm repository by the end of the weekend. |
validation issues have been fixed in commit ff629a225335dc784933c06aabd20ddca5fcdbef |
When I do validation for multiple columns the first one works but the second one does not.
Looking at the excel xml, the validations seem to be nested when I would expect them to be separate...
See https://gist.github.com/chrishakai/b42e366c048c427ef25e21a849732f29
The text was updated successfully, but these errors were encountered: