Data Table fixed column is not working properly.
Data Table fixed column is not working properly.
Fahadalikhan24
Posts: 3Questions: 1Answers: 0
I am using data table with Fixed columns libraries but it is not working properly. It is freezing the left column but not providing the scrolling properly. showing scrolling in the fixed column instead of other columns.
This discussion has been closed.
Answers
code
j$(function() {
// var chckboxcol = j$('#table2 thead tr').children('th.no-sort').index();
// alert('Index of the column is '+chckboxcol);
var dttable = j$('#table2').DataTable({
scrollY: "300px",
scrollX: true,
scrollCollapse: true,
paging: false,
fixedColumns: {
leftColumns: 1
}
});
Happy to take a look at a test case showing the issue.
Allan
I wnat solution can you help me out
I'd be happy to help. If you post a link to a test case showing the issue, I'll be able to debug it.
Allan