changing the number of records per page dynamically.
changing the number of records per page dynamically.

on page load the pageLength is 10.
I am changing the number of records per page dynamically.
After getting the results still the pagination links are shown as per the default pagelength
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I may be misunderstanding but when using
page.len()
to change the page size the length menu option changes. See this example:http://live.datatables.net/piweyude/1/edit
Please update the example to show the problem you are having.
Kevin
@kthorngren , thanks for this test case.
I have one more problem:
how to get the page number and send it in the custom ajax request on clicking on the page number?
page().info()
returns full info about the paging,Colin
what is the event handler which i can use when clicked on the pages in the pagination?
@colin Thanks i have resolved the problem using the page.info()
hi
please mark the question as answered...