Scroller plugin and CSS issue
Scroller plugin and CSS issue
Hi !
I face a strange issue with the Scroller plugin.
The HTML markup :
[code]
Id
FirstName
LastName
City
Mail
...
[/code]
The Javascript code looks like this :
[code]
var oTable_myTableId;
var oTable_myTableId_params = {
"sDom":"lfrtipS",
"sScrollY":"300px",
"aoColumns":[
{
"bSortable":true
},
{
"bSortable":true
},
{
"bSortable":true
},
{
"bSortable":true
},
{
"bSortable":true
}
]
};
$(document).ready(function(){
oTable_myTableId = $('#myTableId').dataTable(oTable_myTableId_params);
$('#myTableId').show();
});
[/code]
The jQuery show() call works well in all other examples but not with the Scroller plugin : the table still has the "display:none;" CSS.
Any idea ?
Debug data : http://debug.datatables.net/uniyud
And for once, a demo : http://demo.dev.datatables4j.cloudbees.net/plugins/scroller :-)
Thanks !
I face a strange issue with the Scroller plugin.
The HTML markup :
[code]
Id
FirstName
LastName
City
...
[/code]
The Javascript code looks like this :
[code]
var oTable_myTableId;
var oTable_myTableId_params = {
"sDom":"lfrtipS",
"sScrollY":"300px",
"aoColumns":[
{
"bSortable":true
},
{
"bSortable":true
},
{
"bSortable":true
},
{
"bSortable":true
},
{
"bSortable":true
}
]
};
$(document).ready(function(){
oTable_myTableId = $('#myTableId').dataTable(oTable_myTableId_params);
$('#myTableId').show();
});
[/code]
The jQuery show() call works well in all other examples but not with the Scroller plugin : the table still has the "display:none;" CSS.
Any idea ?
Debug data : http://debug.datatables.net/uniyud
And for once, a demo : http://demo.dev.datatables4j.cloudbees.net/plugins/scroller :-)
Thanks !
This discussion has been closed.
Replies
Allan
I have strange behaviours with the other plugins too (ColReorder and FixedHeader) but I'll investigate a bit more before disturbing you !
Thanks Allan ! :-)