jquery-datatables-rails icon indicating copy to clipboard operation
jquery-datatables-rails copied to clipboard

FixedCoumns function giving errors

Open siddhant-mohan opened this issue 9 years ago • 1 comments

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.

siddhant-mohan avatar Aug 05 '15 09:08 siddhant-mohan

Can you try initing the table in the new style like in this example?

jh125486 avatar Aug 26 '15 15:08 jh125486