FixedColumns + footer callback
FixedColumns + footer callback
First, I would like to say thank you for all your efforts. This is an amazing product.
I'm trying to incorporate a footer callback (sum of all columns) with FixedColumns. The callback works but the fixed column functionality breaks. The column is no longer fixed, and the overall look of the table breaks.
Code:
[code]
$(document).ready( function () {
var oTable = $('#daily_activations').dataTable( {
"sScrollY": "300px",
"sScrollX": "100%",
"sScrollXInner": "300%",
"bScrollCollapse": true,
"bPaginate": false,
"fnFooterCallback":
function (nRow, aasData, iStart, iEnd, aiDisplay )
{
$($(nRow).children()).remove();
for(var i=0;i
I'm trying to incorporate a footer callback (sum of all columns) with FixedColumns. The callback works but the fixed column functionality breaks. The column is no longer fixed, and the overall look of the table breaks.
Code:
[code]
$(document).ready( function () {
var oTable = $('#daily_activations').dataTable( {
"sScrollY": "300px",
"sScrollX": "100%",
"sScrollXInner": "300%",
"bScrollCollapse": true,
"bPaginate": false,
"fnFooterCallback":
function (nRow, aasData, iStart, iEnd, aiDisplay )
{
$($(nRow).children()).remove();
for(var i=0;i
This discussion has been closed.