jquery-datatables-rails
jquery-datatables-rails copied to clipboard
FixedCoumns function giving errors
new $.fn.dataTable.FixedColumns(table, { leftColumns: 2 });
Above code gives error in fixedCoulmn function. // In fixedCoulmn Function var dtSettings = $.fn.dataTable.Api ? new $.fn.dataTable.Api( dt ).settings()[0] : dt.fnSettings();
Above codes return dtSettings undefined which in return gives error on further execution of the code.
Can you try initing the table in the new style like in this example?