How to make conditional formatting work with jxls

末鹿安然 提交于 2021-01-27 06:38:23

问题


I have created an Excel template for jxls 2.x. There is one cell I have applied conditional formatting. However the conditional formatting only works in exactly the same cell I have created, and it is not duplicated to the following rows. Any idea?


回答1:


There is a bug related to this, as well as a feature enhancement request.

Both are currently unsolved by the developers.

You can check the bug here

The original related issue (feature enhancement) here

Both reports I've linked contain examples and links to them. Read the discussion there, however brief they may be.

Issues are #89 and #110 on the bitbucket report page.

In case you want conditional formatting to be applied to all values in column A you can set it as a conditional formatting for column A in xls template.

You should edit your question and provide examples (template/file) and/or code. We need to see what you're actually doing - it's a bit badly phrased at the moment.



来源:https://stackoverflow.com/questions/53098511/how-to-make-conditional-formatting-work-with-jxls

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!