hide jQuery/VanillaJS options
hide jQuery/VanillaJS options
aziegler3
Posts: 47Questions: 11Answers: 1
I am upgrading from 1.9 to 2.*
All examples now come with the options at the top of the menu, to select jQuery /Vanilla JS and a few frameworks for styling.
I would like to keep my tables and editors without those options. I am struggling to hide those options from the user.
Is there an example that is even simpler than examples/example.html, where you don't have those options?
Or, how can I hide said options?
Replies
Sounds like you are including the demo.js file on your page? That is what adds those options lists. The demo.js file (and the demo.css file) is only relevant to the demos. It wouldn't be included on your own pages.
The download builder is the best way to make sure you get the DataTables files you need, and only the ones that you need.
Allan
Super simple example here.
But use the download builder
Allan