pivotal-energy-solutions/django-datatable-view

Setting datatable initialization options from Datatable class

n6151h opened this issue · 0 comments

In version 0.9 there no longer appears to be any way to set other datatable options (e.g. dom: "Bftip") from within either the Datatable class or a custom template. In the latter case, Best I can come up with is a custom bootstrap_structure.html template that defines an options object that my ready script will look for when it calls datatableview.initialize($(".datatable", <options>).

The documentation is generally very sparse. I'm happy to add to it if you like.