The Drop Down is set to 25 and not to 1000 as expected:
Expected behavior
On Load the selected page length of the paging drop down should be the number set to paging.length property of the configuration.
Observed behavior:
The selected element is always the first element of the drop down box.
TableFilter version: 0.6.98 (maybe already exists in previous versions)
Browser and version: Google Chrome 76.0.3809.132
OS and version: Microsoft Windows 10
Device: PC
Problem can be reliably reproduced, doesn't happen randomly: Yes
My workaround is currently:
const paging = oTableFilter.feature('paging');
if (paging) {
$('.rspg').val(1000);
paging.onChangeResultsPerPage();
}
Describe the bug Setting the paging length property does not take effect.
Reproduction steps: Steps to reproduce the behavior: Setup:
The Drop Down is set to 25 and not to 1000 as expected:![image](https://user-images.githubusercontent.com/12692680/64765722-f23bab80-d544-11e9-81fb-06de602b7a94.png)
Expected behavior On Load the selected page length of the paging drop down should be the number set to
paging.length
property of the configuration.Observed behavior: The selected element is always the first element of the drop down box.
TableFilter version: 0.6.98 (maybe already exists in previous versions) Browser and version: Google Chrome 76.0.3809.132 OS and version: Microsoft Windows 10 Device: PC
My workaround is currently: