How do you Reset Records Per Page Dropdown?
How do you Reset Records Per Page Dropdown?
Given an initialization of this:
[code]
"aLengthMenu": [[-1, 100, 75, 50, 25], ["All", 100, 75, 50, 25]],
[/code]
I want to be able to reset the display drop down for how many records to show. I tried this:
[code]
oSettings._iDisplayLength = -1;
oSettings.oApi._fnReDraw( oSettings );
[/code]
The rows displayed does get reset but the display does not change. I am using Twitter Bootrstrap 1 for the styling.
[code]
"aLengthMenu": [[-1, 100, 75, 50, 25], ["All", 100, 75, 50, 25]],
[/code]
I want to be able to reset the display drop down for how many records to show. I tried this:
[code]
oSettings._iDisplayLength = -1;
oSettings.oApi._fnReDraw( oSettings );
[/code]
The rows displayed does get reset but the display does not change. I am using Twitter Bootrstrap 1 for the styling.
This discussion has been closed.
Replies
Allan