What I do need to run Editor with Bootstrap?

What I do need to run Editor with Bootstrap?

VyacheslavVyacheslav Posts: 70Questions: 27Answers: 0

What I do need to run Editor with Bootstrap?

My question is about the correct order of the files (js and css) - because I see strange artifacts in the interface.
Let's say we want to use services: Select, Button, fixedHeader, keyTable, Editor.

Is it correct order of using css/js for Bootstrap?

CSS:

  buttons.dataTables
  select.dataTables
  editor.dataTables

  dataTables.bootstrap
  fixedHeader.bootstrap
  keyTable.bootstrap
  buttons.bootstrap
  select.bootstrap
  editor.bootstrap

JS:

  jquery.dataTables
  dataTables.fixedHeader
  dataTables.buttons
  dataTables.keyTable
  buttons.colVis
  buttons.flash
  buttons.html5
  buttons.print
  dataTables.select
  dataTables.editor

  dataTables.bootstrap
  buttons.bootstrap
  editor.bootstrap

Answers

  • allanallan Posts: 63,516Questions: 1Answers: 10,473 Site admin

    I would suggest you use the DataTables downloader which will sort out all of the files and their order for you.

    Allan

  • VyacheslavVyacheslav Posts: 70Questions: 27Answers: 0
    edited March 2016

    Cool !!!

    But I noticed one bug:

    1. go to http://datatables.net/download/index
    2. select Editor
    3. select Field type - Bootstrap Date Time picker
    4. select Bootstrap Date Time Picker
    

    ... and now the switcher Concatenate: Single/Individual doesn't work anymore i.e Package results

  • allanallan Posts: 63,516Questions: 1Answers: 10,473 Site admin

    Thanks for pointing that out! The Bootstrap date time picker shouldn't be in that list any more - Editor has its own built in datetime option. Having said that, the plug-in is still available if you want to use it, it just won't be built as part of the download builder.

    Allan

This discussion has been closed.