Strange behaviour after bDestroy: true

Strange behaviour after bDestroy: true

nkonko Posts: 4Questions: 0Answers: 0
edited October 2013 in General
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

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Sounds like the top FAQ: http://datatables.net/faqs#events . Use a delegated event.

    Allan
This discussion has been closed.