Quantcast
Channel: NPOI
Viewing all articles
Browse latest Browse all 1621

Commented Issue: sheet tabs and scrollbars missing when saving with NPOI 2.1 [13093]

$
0
0
Is it just me or does NPOI 2.1 by default disable the scrollbar and tabsheet visibility?

You can enable those in the Excel settings and save it to the file. However, this is quirky behavior.

Thanks

Peter
Comments: ** Comment from web user: tonyqus **

I know the root cause. This issue only occurs while reading a xlsx template and write back to a output file. The reason is that showHorizontalScroll property is usually not explicitly set in workbook.xml. While parsing the teamplate, we have the following code:

ctObj.showHorizontalScroll = XmlHelper.ReadBool(node.Attributes["showHorizontalScroll"])

This will return false if showHorizontalScroll is not found. But the default value of showHorizontalScroll should be true.


Viewing all articles
Browse latest Browse all 1621

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>