exanpe / exa-grails-plugins

Apache License 2.0
7 stars 4 forks source link

auto="false" results in "Cannot reinitialise DataTable" error #14

Open asnow77 opened 6 years ago

asnow77 commented 6 years ago

I followed the example of setting auto="false" so that I could set some "options", however the call "datatable.render(options)" results in the following alert message and the table renders without and data in it:

"DataTables warning: table id=table1 - Cannot reinitialise DataTable. For more information about this error, please see http://datatables.net/tn/3"

I'm using v2.0.1 of the plugin on grails v3.3.2. My test code is as follows:

`

`
asnow77 commented 6 years ago

Would be nice to pass in all DataTables "options" from the exa:datatable tag. Could this be added? :)