bengbengbalabalabeng commented on code in PR #979:
URL: https://github.com/apache/fesod/pull/979#discussion_r3736195684
##########
website/docs/sheet/write/extra.md:
##########
@@ -155,7 +176,15 @@ public void writeFormulaDataWrite() {
### Result
-
+<div class="xl-sheet-container">
+<table class="xl-sheet">
+<tbody>
+<tr><td class="xl-chrome"></td><td class="xl-chrome">A</td></tr>
+<tr><td class="xl-chrome">1</td><td class="xl-head">formulaData</td></tr>
+<tr><td class="xl-chrome">2</td><td>=SUM(A1:A10)</td></tr>
+</tbody>
+</table>
+</div>
Review Comment:
It might be clearer to adjust the POJO structure to:
```java
// ...
public class WriteCellDemoData {
private Integer num1;
private Integer num2;
private WriteCellData<String> formulaData;
}
```
Then set the formula as `SUM(A2:B2)` (or `=SUM(A2:B2)`), so that the
formulaData column displays the evaluated result directly.
This would make the example more complete and easier for users to understand
how formula output is handled. (same: zh-cn version)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]