Git Product home page Git Product logo

Comments (7)

xliez avatar xliez commented on June 8, 2024

环境:MacOS 13
浏览器: Chrome 115

from excelize.

zurmokeeper avatar zurmokeeper commented on June 8, 2024

@xliez 可以提供下excel文件吗?

from excelize.

xliez avatar xliez commented on June 8, 2024

发送到你邮箱了

from excelize.

zurmokeeper avatar zurmokeeper commented on June 8, 2024

@xliez 这个问题和这个issue #6 是一样,都是数据有限性验证设置的太大了, sqref="BT2:BT1048576", sqref="K2:K1048576" 还有更多,如下图, 这几个圈出来的字段(还有一些没圈出来的字段)就是设置了数据有限性验证的,一整列都设置了,现在代码处理数据有限性验证还有点问题,如果很大就会卡住。

image

有几个方案处理:
1:如果你不需要读取数据有限性验证里的设置,可以照这里的操作,先把所有的数据有限性验证都清除了,应该就能读了 https://www.kafan.cn/A/y3171gg83k.htmlhttps://jingyan.baidu.com/article/f3ad7d0f3ff85548c2345b73.html
2:现在只是 “批量上传模板”这个sheet 设置了数据有限性验证,如果不需要读这个sheet,可以把这个sheet删了,应该就能读了
3:可能得等会,我这个新功能(New xlsx option for ignoring certain nodes for improved performance) #22 ,就是暂时先用来解决这个问题的,正在做了

from excelize.

xliez avatar xliez commented on June 8, 2024

好的,非常感谢解答!

from excelize.

zurmokeeper avatar zurmokeeper commented on June 8, 2024

@xliez V4.4.6 已经发布了,可以更新体验下,已经可以通过忽略数据有效性节点的方式来暂时处理你这个问题,可以看下这里 https://github.com/zurmokeeper/excelize/releases/tag/4.4.6

from excelize.

xliez avatar xliez commented on June 8, 2024

@xliez V4.4.6 已经发布了,可以更新体验下,已经可以通过忽略数据有效性节点的方式来暂时处理你这个问题,可以看下这里 https://github.com/zurmokeeper/excelize/releases/tag/4.4.6

好的,感谢帮忙🌹

from excelize.

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.