Strange behaviour after bDestroy: true
Strange behaviour after bDestroy: true
Hi, I have a problem after the reinitialization of my datatable using "bDestroy": true, using the following code:
[code]
$('#obj_tab').dataTable( {
"bJQueryUI": true,
"sScrollY": "250px", // Set scrollable area to 300 pixels
"bScrollCollapse": true, // Shrink the table if only a few rows displayed
"bPaginate": false, // Turn off pagination furniture (turning it on breaks Scrolling)
"bInfo":false,
"bAutoWidth": true, // Let Datatable manage the column widths
"bFilter" : true,
"oLanguage": { "sSearch": 'Cerca:', "sZeroRecords": 'Non ci sono dati', "sInfoThousands": '' },
"bDestroy" : true,
"aoColumns": [{"sWidth":'50%' }, {"sWidth":'25%'}, {"sWidth":'25%'}],
[\code].
My table is initialized by Pentaho CDF and after the bDestroy only the first ten rows have the changes applied, i.e. the clickable property. What I'm wrong? If I don't destroy the table all my rows are clickable.
Thanks
[code]
$('#obj_tab').dataTable( {
"bJQueryUI": true,
"sScrollY": "250px", // Set scrollable area to 300 pixels
"bScrollCollapse": true, // Shrink the table if only a few rows displayed
"bPaginate": false, // Turn off pagination furniture (turning it on breaks Scrolling)
"bInfo":false,
"bAutoWidth": true, // Let Datatable manage the column widths
"bFilter" : true,
"oLanguage": { "sSearch": 'Cerca:', "sZeroRecords": 'Non ci sono dati', "sInfoThousands": '' },
"bDestroy" : true,
"aoColumns": [{"sWidth":'50%' }, {"sWidth":'25%'}, {"sWidth":'25%'}],
[\code].
My table is initialized by Pentaho CDF and after the bDestroy only the first ten rows have the changes applied, i.e. the clickable property. What I'm wrong? If I don't destroy the table all my rows are clickable.
Thanks
This discussion has been closed.
Replies
Allan