giterlizzi / dokuwiki-plugin-datatables

Add DataTables support to DokuWiki
GNU General Public License v2.0
10 stars 10 forks source link

options don't work #52

Open zurrai opened 3 years ago

zurrai commented 3 years ago

The plugin works for me in the Hogfather version of DokuWiki, but if I put any options in the opening tag the table reverts back into a normal table. I don't want filtering or pagination - I only want sorting.

I've tried:

<datatables paging="false" searching="false" ordering="true">
^ Col 1 ^ Col 2 ^ Col 3 ^
| Row A1 | Row A2 | Row A3 |
</datatables>

I've also tried various combinations of those options and putting them in a different order. I've also tried changing the tags to "datatable" instead of "datatables", since I've seen it both ways in examples. Am I doing something wrong?

By the way, this plugin was exactly what I was looking for. Thank you for making it!

robertschulze commented 3 years ago

Same here. As soon as I specify an option it reverts to a simple table without any pagination or search.