DataTables works only after a click?

DataTables works only after a click?

NM78NM78 Posts: 3Questions: 0Answers: 0
edited February 2014 in DataTables 1.10
Hi, im trying to get DataTables running in my script. It will work only after a click into the table. Only after that, i can see the pagination and sortable icons. StateSave wont work too.

Here is the code:
[code]
$('.sortme').dataTable({
'columnDefs': [
{
'targets': [9],
'sortable': false
}
],
'stateSave': true,
'pagingType': 'full_numbers',
'lengthMenu': [[10, 25, 50, 100, -1], [10, 25, 50, 100, 'Alle']]

});
[/code]

Do u know whats wrong?

Replies

  • NM78NM78 Posts: 3Questions: 0Answers: 0
    I have found the issue:

    I had a wrong (to high) value for the colspan attribute in a td node in the tfoot section.
This discussion has been closed.