width dataTable fixedColumns recalculate
width dataTable fixedColumns recalculate
sorry for my english :-)
translated by http://translate.google.ru
Help a table #FixedTables (FixedColumns) when loading a page width of the table is calculated fine, but if we assume unlock the hidden div appears scrolling a page and width of the table is not changed.
[code]
$(document).ready(function () {
initTable();
tableActions();
});
function initTable() {
return $('#FixedTables').dataTable({
"bRetrieve": true,
"sScrollY": "300px", //(0.5 * $(window).height()),
"bScrollAutoCss": true,
"bInfo": false,
"bSearchable": false,
"sScrollX": "100%",
"sScrollXInner": "150%",
"bDeferRender": true,
"bAutoWidth": false,
"bScrollCollapse": true,
"bPaginate": false,
"bFilter": false,
"bSort": false,
"bProcessing": false,
"asStripeClasses": ['odd', 'even']
});
}
function tableActions() {
var oTable = initTable();
var oFC = new FixedColumns(oTable, {
"iLeftColumns": 1,
"iLeftWidth": 150
});
}
[/code]
translated by http://translate.google.ru
Help a table #FixedTables (FixedColumns) when loading a page width of the table is calculated fine, but if we assume unlock the hidden div appears scrolling a page and width of the table is not changed.
[code]
$(document).ready(function () {
initTable();
tableActions();
});
function initTable() {
return $('#FixedTables').dataTable({
"bRetrieve": true,
"sScrollY": "300px", //(0.5 * $(window).height()),
"bScrollAutoCss": true,
"bInfo": false,
"bSearchable": false,
"sScrollX": "100%",
"sScrollXInner": "150%",
"bDeferRender": true,
"bAutoWidth": false,
"bScrollCollapse": true,
"bPaginate": false,
"bFilter": false,
"bSort": false,
"bProcessing": false,
"asStripeClasses": ['odd', 'even']
});
}
function tableActions() {
var oTable = initTable();
var oFC = new FixedColumns(oTable, {
"iLeftColumns": 1,
"iLeftWidth": 150
});
}
[/code]
This discussion has been closed.
Replies
run effect.
run effect.
http://live.datatables.net/ecujef/8
scrollX appeared under the left column fixed.
width recalculated correctly. :-)