Event call on iDisplayLength value change
Event call on iDisplayLength value change
Hello,
I have following param in the data table initialization: "aLengthMenu": [50, 75, 100]
Is there a function that gets called when the user changes IDisplayLength from 50 to 75 for example? I need to fire off a custom action but having a hard time determining when the event of user changing display length occurs. I am looking for a unique event, not something that gets called on every table reload or when user changes pages.
Highly appreciated,
Arthur
I have following param in the data table initialization: "aLengthMenu": [50, 75, 100]
Is there a function that gets called when the user changes IDisplayLength from 50 to 75 for example? I need to fire off a custom action but having a hard time determining when the event of user changing display length occurs. I am looking for a unique event, not something that gets called on every table reload or when user changes pages.
Highly appreciated,
Arthur
This discussion has been closed.
Replies
just had a similar problem and simply bound a change event to the 'length'-select $('#%dataTableName%_length').
best regards,
matthias