Data Table fixed column is not working properly.

Data Table fixed column is not working properly.

Fahadalikhan24Fahadalikhan24 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.

Answers

  • Fahadalikhan24Fahadalikhan24 Posts: 3Questions: 1Answers: 0

    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
    }
    });

  • allanallan Posts: 63,161Questions: 1Answers: 10,406 Site admin

    Happy to take a look at a test case showing the issue.

    Allan

  • Fahadalikhan24Fahadalikhan24 Posts: 3Questions: 1Answers: 0

    I wnat solution can you help me out

  • allanallan Posts: 63,161Questions: 1Answers: 10,406 Site admin

    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

This discussion has been closed.