datatable into a fancybox (iframe)
datatable into a fancybox (iframe)
i have a datatable on a page displayed normally. there is a link to a table cell which opens a Fancybox (iframe) .In this Fancybox is displayed another DataTable Mysql. mysql data works fine but not datatable display
in the fancybox i have
<!-- Tout ce qui concerne la mise en forme jquery des tableaux -->
@import "../media/css/demo_page.css";
@import "../media/css/demo_table.css";
$(document).ready(function() {
var oTable = $('#tableWE').dataTable({
"bPaginate": false,
"bSort":true,
"bFilter": false,
"bInfo": false
});
// Highlight every second row
oTable.$('tr:odd').css('backgroundColor', '#ECF6FC');
oTable.$('tr:even').css('backgroundColor', '#FFFF99');
} );
and
etc..
an idea?
thanks
in the fancybox i have
<!-- Tout ce qui concerne la mise en forme jquery des tableaux -->
@import "../media/css/demo_page.css";
@import "../media/css/demo_table.css";
$(document).ready(function() {
var oTable = $('#tableWE').dataTable({
"bPaginate": false,
"bSort":true,
"bFilter": false,
"bInfo": false
});
// Highlight every second row
oTable.$('tr:odd').css('backgroundColor', '#ECF6FC');
oTable.$('tr:even').css('backgroundColor', '#FFFF99');
} );
and
etc..
an idea?
thanks
This discussion has been closed.