Allows to easily create content in table format.
Feature | XWiki Syntax 1.0 | Result |
---|
Standard table |
{table}
Title 1 | Title 2
Word 1 | Word 2
{table}
| Title 1 | Title 2 |
---|
Word 1 | Word 2 |
|
Parametrized table | <table style="background-color:red;align:center"> <tbody> <tr> <td>Title 1</td> <td style="background-color:yellow">Title 2</td> </tr> <tr> <td>Word 1</td> <td>Word 2</td> </tr> </tbody> </table> | Title 1 | Title 2 |
---|
Word 1 | Word 2 |
|
Filterable Sortable table |
$xwiki.ssfx.use("js/xwiki/table/table.css")
$xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true)
<table id="table1id" class="grid sortable filterable doOddEven">
<tr class="sortHeader">
<th>Title 1</th>
<th>Title 2</th>
</tr>
<tr>
<td>Cell 11</td>
<td>Cell 12</td>
</tr>
<tr>
<td>Cell 21</td>
<td>Cell 22</td>
</tr>
</table>
| Cell 11 | Cell 12 | Cell 21 | Cell 22 |
|