Responsive datatable inside bootstrap modal dialog
Responsive datatable inside bootstrap modal dialog

Hi, I have a datatable inside a bootstrap modal dialog. The table itself has the class "responsive" and I am using the appropriate js-files.
Normaly when I resize my browser window all datatables will appear responsive and hide columns as the window gets smaller. But, when a datatable is inside a modal dialog it wont update itself when the modal dialog gets smaller.
Any thoughts about this? Have I missed something?
Sorry for not reading the rules. Heres the fiddle: http://live.datatables.net/moxajuri/1/edit
Answers
prueba con el ejemplo de aqui https://datatables.net/extensions/responsive/examples/display-types/bootstrap-modal.html , pero a
<
table id="example" class="table table-striped table-bordered nowrap" cellspacing="0" width="100%"> el class lo dejas class="table table-striped table-bordered" eso creo que me funciono como arte de magia
Answer belated, but it would be helps to somebody to make a table responsive.
Just add this:
<div class="table-responsive">
Before your tag:
<table id="example" class="table table-striped table-hover responsive">
Then close the div with
</div>
tag after the table container div.