Scrollx not working when columns.defaultcontent is added.
Scrollx not working when columns.defaultcontent is added.
var table = j$("Table[id$=GridTable]").DataTable( {
scrollY: "150px",
scrollX: true,
scrollCollapse: true,
paging: false,
"bInfo": false,
"bFilter": true,
"bRetrieve": true,
"order": [0,"desc"] ,
"columns": [ null,
null,
null,
{
"data": "office", // can be null or undefined
"defaultContent": ""
}
]
} );
new j$.fn.dataTable.FixedColumns( table,{
leftColumns: 2
} );
Answers
Thanks for your question - however, per the forum rules can you link to a test case showing the issue please. This will allow the issue to be debugged.
Information on how to create a test page, if you can't provide a link to your own page can be found here.
Thanks,
Allan
p.s. I've deleted your duplicate thread. Please don't post duplicates.