Parametrized excel formulas in conditional formatting rule #157
-
Hello! I want to use "Parametrized excel formulas" (as in example http://jxls.sourceforge.net/samples/param_formulas.html) inside the conditional formatting rule (see screenshots 1 and 2). But after saving rule my formula changes (see screenshot 3). And, of course, after processing this template by jxls, variable "bonus" not substituted in formula. Is it possible to use variables from java code inside formula on conditional formatting? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
hi I don't know if JXLS supports JEXL formulas at that place. I guess not.
You could debug PoiSheetData.java:86 (updateConditionalFormatting). If the formula appears there we could use the JEXL evaluator at that place. For adding a new feature we'll need a PR. See https://github.com/jxlsteam/jxls/blob/master/CONTRIBUTING.md |
Beta Was this translation helpful? Give feedback.
hi
I don't know if JXLS supports JEXL formulas at that place. I guess not.
You could debug PoiSheetData.java:86 (updateConditionalFormatting). If the formula appears there we could use the JEXL evaluator at that place. For adding a new feature we'll need a PR. See https://github.com/jxlsteam/jxls/blob/master/CONTRIBUTING.md