integration with bootstrap

integration with bootstrap

jmlsjmls Posts: 1Questions: 0Answers: 0
edited August 2012 in Editor
hi, considering purchasing the editor add on for datatables, but just wanted to check that it's compatible with bootstrap 2.0.4, and that editor will support the upcoming 2.1 release. thanks

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    Hi,

    There is an example of Editor and Bootstrap integration here : http://editor.datatables.net/release/DataTables/extras/Editor/examples/bootstrap.html - that example is using Bootstrap 2.0.4 :-).

    Integration with Bootstrap 2.1 hasn't been looked at yet, but DataTables, TableTools and Editor all integrate nicely with Bootstrap, and the plan is for the to continue - so if there are any incompatibilities introduced, they will be addressed.

    Regards,
    Allan
  • illumeillume Posts: 1Questions: 0Answers: 0
    Hi,

    bootstrap 2.1 has issues with DataTables integration.
  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    I just had a look this morning and didn't see any on a quick scan. Can you please link me to a test case showing the problems?

    This example is using 2.1: http://datatables.net/media/blog/bootstrap_2/

    Allan
  • vasanthnsvasanthns Posts: 4Questions: 0Answers: 0
    edited August 2012
    I am using DataTables 1.9.3 with Bootstrap 2.1,, ofcourse after Bootstrap 2.1 GA today ;)
    most of the things are working fine but TableTools Select/Deselect all buttons doesn't have text aka Labels in it. Please check. sorry if this is not the thread it should be posted!

    here is the snapshot.. http://i50.tinypic.com/dzytqg.png

    thanks,
    Vasanth.
  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    Thanks for the picture - it is indeed a TableTools issue.

    For some reason, the use of font-size: 0.9em in the buttons of 2.1 just completely breaks. It seems that a pixel value is now required. I've just committed a fix to the DataTables Bootstrap integration files on Github:
    https://github.com/DataTables/Plugins/tree/master/integration/bootstrap

    You can see the result working here:
    http://datatables.net/release-datatables/extras/TableTools/bootstrap.html

    Regards,
    Allan
  • vasanthnsvasanthns Posts: 4Questions: 0Answers: 0
    Thanks Allan, works like a charm :)

    regards,
    Vasanth.
This discussion has been closed.