Skip to content

Commit

Permalink
Add cell merging example
Browse files Browse the repository at this point in the history
  • Loading branch information
sprain committed Nov 23, 2023
1 parent 5fc74f2 commit 5408095
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions example/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@
</tr>

<tr>
<td></td>
<td></td>
<!-- Merge cells -->
<td colspan="2" rowspan="2" _excel-styles='{"text-align": "center", "vertical-align": "center"}'>Merge cells</td>

<!-- Set column dimensions -->
<td _excel-styles='{"width": 100, "height": 50}'>No need to fill all cells.</td>
<td _excel-styles='{"width": "auto"}'>And no need to care about how many cells there are in each row.</td>
Expand Down

0 comments on commit 5408095

Please sign in to comment.