TableTools buttons are not displayed

TableTools buttons are not displayed

tampe125tampe125 Posts: 7Questions: 1Answers: 0

I am trying DataTables with the Editor extension and I'd wish to create an editable table.
However I am facing a very strange issue: even if I copy and pasted the example code, I can't see the New, Edit and Delete buttons.

The table is created by loading it from the DOM, but I can't see any button: I don't get any error/warning, the buttons simply aren't there.
Checking the HTML, these buttons aren't hidden (I was thinking about a CSS issue), they simply aren't rendered at all.
Here you can find the debug data: http://debug.datatables.net/alawub
By the way, I'm creating the table inside a custom Joomla 3.3.3 component, I don't know if this could be useful.

This question has an accepted answers - jump to answer

Answers

  • mRendermRender Posts: 151Questions: 26Answers: 13
    Answer ✓

    According to your debug, you're not including the Table Tools at all. They are separate from the Datatables js and must be included separately.

    If you downloaded the entire datatables library, it might look something like...

    ../../../media/js/jquery.js
    ../../../media/js/jquery.dataTables.js
    ../js/dataTables.tableTools.js
    
  • tampe125tampe125 Posts: 7Questions: 1Answers: 0

    oh, come on, it was so easy?!
    well, thank you anyway :)

  • mRendermRender Posts: 151Questions: 26Answers: 13

    hahah you're welcome :)

This discussion has been closed.