Dropdown menu in Bootstrap Modal
Dropdown menu in Bootstrap Modal
OBCENEIKON
Posts: 9Questions: 0Answers: 0
I found an issue with using TableTools in a Twitter Bootstrap Modal.
If you use the example listed on the page http://datatables.net/release-datatables/extras/TableTools/bootstrap.html in a modal, the drop down menu is below the modal window.
Adding a CSS rule with a higher z-index fixes the issue, but clicking outside of the drop down menu does not close the drop down menu.
[code].DTTT_dropdown.dropdown-menu {
z-index: 9000;
}[/code]
Also, the menu items will highlight, but it seems like the only one that works when clicked is PDF.
If you use the example listed on the page http://datatables.net/release-datatables/extras/TableTools/bootstrap.html in a modal, the drop down menu is below the modal window.
Adding a CSS rule with a higher z-index fixes the issue, but clicking outside of the drop down menu does not close the drop down menu.
[code].DTTT_dropdown.dropdown-menu {
z-index: 9000;
}[/code]
Also, the menu items will highlight, but it seems like the only one that works when clicked is PDF.
This discussion has been closed.
Replies
http://live.datatables.net/awufuh/3/edit#preview
Allan
http://live.datatables.net/awufuh/5/edit
Allan
hey i want this source, can i get link download ?
I am also trying to figure out how to "hide the menu" once the modal window is opened.
Any ideas on this ? I appreciate your help guys!
Thanks,
Sri