Fixed columns problem
Fixed columns problem
lunguc@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.
This discussion has been closed.
Answers
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.
Nobody does this happen? Allan can you help me please?
Did you solve the issue?