Event call on iDisplayLength value change

Event call on iDisplayLength value change

ArturianArturian Posts: 1Questions: 0Answers: 0
edited August 2011 in General
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

Replies

  • matthiasmatthias Posts: 1Questions: 0Answers: 0
    hi,

    just had a similar problem and simply bound a change event to the 'length'-select $('#%dataTableName%_length').

    best regards,
    matthias
This discussion has been closed.