DataTables works only after a click?
DataTables works only after a click?
NM78
Posts: 3Questions: 0Answers: 0
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?
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?
This discussion has been closed.
Replies
I had a wrong (to high) value for the colspan attribute in a td node in the tfoot section.