bengbengbalabalabeng commented on code in PR #979:
URL: https://github.com/apache/fesod/pull/979#discussion_r3736083905
##########
website/docs/sheet/fill/fill.md:
##########
@@ -273,8 +448,51 @@ public void compositeFill() {
### Template
-
+<div class="xl-sheet-container">
+<table class="xl-sheet">
+<tbody>
+<tr><td class="xl-chrome"></td><td class="xl-chrome">A</td><td
class="xl-chrome">B</td><td class="xl-chrome">C</td><td
class="xl-chrome">D</td><td class="xl-chrome">E</td></tr>
+<tr><td class="xl-chrome">1</td><td
rowspan="4">Statistics</td><td>Name</td><td
class="xl-fc-red">{data1.name}</td><td></td><td></td></tr>
+<tr><td class="xl-chrome">2</td><td>Number</td><td
class="xl-fill-bright-green">{data1.number}</td><td></td><td></td></tr>
+<tr><td
class="xl-chrome">3</td><td>Name</td><td>{data1.name}</td><td></td><td></td></tr>
+<tr><td
class="xl-chrome">4</td><td>Number</td><td>{data1.number}</td><td></td><td></td></tr>
+<tr><td class="xl-chrome">5</td><td></td><td>Time:
{date}</td><td></td><td></td><td></td></tr>
+<tr><td
class="xl-chrome">6</td><td></td><td></td><td></td><td></td><td></td></tr>
+<tr><td
class="xl-chrome">7</td><td></td><td></td><td></td><td></td><td></td></tr>
+<tr><td
class="xl-chrome">8</td><td>Name</td><td>Number</td><td></td><td></td><td></td></tr>
+<tr><td class="xl-chrome">9</td><td class="xl-fc-red">{data2.name}</td><td
class="xl-fill-bright-green">{data2.number}</td><td></td><td></td><td></td></tr>
+<tr><td
class="xl-chrome">10</td><td></td><td></td><td></td><td>Name</td><td>Number</td></tr>
+<tr><td class="xl-chrome">11</td><td></td><td></td><td></td><td
class="xl-fc-red">{data3.name}</td><td
class="xl-fill-bright-green">{data3.number}</td></tr>
+</tbody>
+</table>
+</div>
### Result
-
+- `data1` is filled horizontally, so its ten items run across the columns from
`C` to `L` on each of the four template rows.
+- `data2` and `data3` are filled downwards instead, occupying `A`/`B` in rows
9 to 18 and `D`/`E` in rows 11 to 20.
+- Calling `fill` again with the same list name appends to it, as in [Fill
List](#fill-list).
+
+<div class="xl-sheet-container">
+<table class="xl-sheet">
+<tbody>
+<tr><td class="xl-chrome"></td><td class="xl-chrome">A</td><td
class="xl-chrome">B</td><td class="xl-chrome">C</td><td
class="xl-chrome">D</td><td class="xl-chrome">E</td><td
class="xl-chrome">F</td><td class="xl-chrome">⋯</td></tr>
Review Comment:
Similar ↑.
--
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]