[[wiki:syntax_tables]]

Plugin : Tableau

Plugins: datatables

A utiliser par défaut car export PDF,Excel du tableau

<datatables page-length='25' dom='lfrBtip' buttons='["excel", "pdf", "print"]'>
^  ACTION  ^  PROTO  ^  SOURCE  ^  PORT  ^  DEST  ^  PORT  ^  GATEWAY   ^  DESC       ^
|     PASS |  TCP    |  *       |  *     |  *     |  WEB   |  WANGROUP  |  Allow WEB  |
</datatables>

Plugins: searchtablejs, sortablejs & csv

This script can be used the same way as the Sortablejs Plugin. It adds a small text field on top of your table and filters for the entered text. Esp. in combination with the CSV Plugin this small plugin is very useful.

Example:

<searchtable>
^ Test ^ Col1 ^ Col2 ^
| Row1 | Val1 | Val2 |
| Row2 | Val3 | Val4 |
</searchtable>

Example with sortable (you can combine it):

<searchtable>
<sortable>
^ Test ^ Col1 ^ Col2 ^
| Row1 | Val1 | Val2 |
| Row2 | Val3 | Val4 |
</sortable>
</searchtable>

Geco-iT Full Example avec données CSV

<WRAP center tablewidth 80%>
<searchtable>
<sortable>
<csv>
Prenom Nom,E-mail,Password
Geco User1,user1@geco.com,XXXXXX
Geco User2,user2@geco.com,XXXXXX
Geco User3,user3@geco.com,XXXXXX
Geco User4,user4@geco.com,XXXXXX
</csv>
</sortable>
</searchtable>
</WRAP>

Filter:

Prenom NomE-mailPassword
Geco User1user1@geco.comXXXXXX
Geco User2user2@geco.comXXXXXX
Geco User3user3@geco.comXXXXXX
Geco User4user4@geco.comXXXXXX

Convertir données CSV/Exel tableau Wiki

Marche pas terrible pour dokuwiki

http://mlei.net/shared/tool/csv-wiki.htm

Possible direct copier/coller des cellules mais pas de modifs direct avec fonction modifier tableau

<csv delim=tab>
prenom	nom	login	email
cyril	duchenoy	c.duchenoy	c.duchenoy@geco-it.fr
cyril		c.duchenoy	c.duchenoy@geco-it.fr
cyril	duchenoy	c.duchenoy	
</csv>
  • wiki/syntax_tables.txt
  • Dernière modification: 21/03/2022/ 13:58
  • par c.duchenoy