How do I update the lengthMenu after a Datatable has been initialized?

How do I update the lengthMenu after a Datatable has been initialized?

wheels531wheels531 Posts: 1Questions: 1Answers: 0

The documentation covers how to initialize a datatable with a custom length menu but I need to change the length menu of a datatable after it's been initialized. Is this possible?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 64,032Questions: 1Answers: 10,555 Site admin
    Answer ✓

    There is no API for that at this time. You could use a little bit of jQuery to just modify the select list which would work, although it isn't really a supported action.

    Allan

This discussion has been closed.