Fixed columns problem

Fixed columns problem

lunguc@hotmail.comlunguc@hotmail.com Posts: 20Questions: 6Answers: 0

Hi,
I have 2 datatables on same page. Until now both datatables looks fine with them styles. Today I download jquery.dataTables.min.js and dataTables.fixedColumns.js and *.css too in order to use fixed columns.
First datatable still looking good but the second loosing styles. The columns loose width, alignment, all styles.
All pages with 2 or more datatables have same problem.

Answers

  • lunguc@hotmail.comlunguc@hotmail.com Posts: 20Questions: 6Answers: 0
    edited August 2016

    The initialization of datatables is:

    var table_di = null;
    $(document).ready(function() {
    table_di = $('#dt_di').DataTable({
    bFilter: false,
    ordering: false,
    scrollY: "300px",
    scrollX: true,
    scrollY: false,
    scrollCollapse: true,
    paging: false,
    info: false,
    fixedColumns: {
    leftColumns: 1
    }
    });
    calculeazaProcentaj(table_di, 1);
    });

    I attach fotos with both cases.
    Thanks.

    ok.png 40.4K
    ko.png 41.9K
  • lunguc@hotmail.comlunguc@hotmail.com Posts: 20Questions: 6Answers: 0

    Nobody does this happen? Allan can you help me please?

  • gbosch DCCSgbosch DCCS Posts: 2Questions: 0Answers: 0

    Did you solve the issue?

This discussion has been closed.