Scrollx not working when columns.defaultcontent is added.

Scrollx not working when columns.defaultcontent is added.

cloud.hardeepcloud.hardeep Posts: 1Questions: 1Answers: 0

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

  • allanallan Posts: 63,844Questions: 1Answers: 10,518 Site admin

    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.

This discussion has been closed.