Twitter Bootstrap dropdown for TableTools

Twitter Bootstrap dropdown for TableTools

periklisperiklis Posts: 13Questions: 0Answers: 0
edited July 2012 in TableTools
Hello,
I am trying to incorporate TableTools' export function in my twitter-boostrap based DataTables. I've used the code in the example (http://www.datatables.net/release-datatables/extras/TableTools/bootstrap.html) but it seems to be using a custom drop-down div. Is there an easy way to use bootstrap's own drop-down div?
Thanks in advance

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Currently no - you would need to use DOM / jQuery methods to shift elements around. Its a nice idea for a future enhancement of TableTools though. I've added it to the list.

    Allan
  • periklisperiklis Posts: 13Questions: 0Answers: 0
    that would be great - thanks for the lightning-fast response!
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    I forgot to say that I've actually done a bit of work with integrating Bootstrap with TableTools - http://datatables.net/release-datatables/extras/TableTools/bootstrap.html . It uses the TableTools built in collection, but it is styled to look like bootstrap.

    Allan
This discussion has been closed.