hide jQuery/VanillaJS options

hide jQuery/VanillaJS options

aziegler3aziegler3 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

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin

    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

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin

    Super simple example here.

    But use the download builder :)

    Allan

Sign In or Register to comment.