Page length event

Page length event

jaka_ramdhanijaka_ramdhani Posts: 1Questions: 1Answers: 0

Hi, my name is Jaka i wanna ask a question.

How can i use this event in DataTables(); not in dataTables();

$('#example').dataTable();
 
$('#example').on( 'length.dt', function ( e, settings, len ) {
    console.log( 'New page length: '+len );
} );

thanks,

This discussion has been closed.