Bootstrap Modal / DataTables Plugin not friends

Bootstrap Modal / DataTables Plugin not friends

minedun6minedun6 Posts: 3Questions: 0Answers: 0
edited March 2014 in General
Hi,
I'm having a ratherbig problem, I've setten up the datatable plugin and I'm using a bootstrap modal in one of the columns !!
but I do not know why the text continues infinitly without breaking line so I would like to know if any could help, this is really urgent.
Here, I've put an image for better refrence...

http://www.hostingpics.net/viewer.php?id=813135dataTableissue.png

Replies

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    Without a link to the page, I can't say. Perhaps you have `white-space: nowrap` set in your CSS?

    Allan
  • minedun6minedun6 Posts: 3Questions: 0Answers: 0
    I've changed the datatable js/css using those that are used with bootstrap twitter and it solved the problem !!
    But now, turned out there is another problem, and that is, I have 10 users inside the table, and by default, i'm showing only 5, for the last column, i'm putting a set of 3 buttons, one for delete/view/edit
    for the first five show by default, the click event works fine, but for the second page, the click on the buttons does not trigger any event ...
    Is there any way to solve, it's really weird that it's not working !!
  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    Sounds a lot like the top FAQ: http://datatables.net/faqs#events :-).

    In short, use a delegated event!

    Allan
  • minedun6minedun6 Posts: 3Questions: 0Answers: 0
    edited March 2014
    thx allan managed to get it done when importing the js after the initialisation of the datatables plugin ^^
    Again, thx thx thx for this amazing plugin but I would also appreciate that the print,xls,csv buttons could work, as I've tested it and seen lots and lots of people complaining about it ^^
This discussion has been closed.