Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

siccovansas
Copy link

@siccovansas siccovansas commented Aug 3, 2018

In the ExtJS pagination plugin, the table would not update if you changed the page value in the input box, i.e. if the input box showed page 1 and you changed it to page 5, nothing would happen whereas you would expect page 5 to be loaded into your table.

fnExtStylePagingInfo is used in 3 other places in this file, so I guessed that the usage of fnPagingInfo in the nPageNumBox.change block was a typo and should have been fnExtStylePagingInfo. This indeed fixes the problem.

The table would not update if you changed the page value in the input box, i.e. if the input box showed page 1 and you changed it to page 5, nothing would happen whereas you would expect page 5 to be loaded into your table.

`fnExtStylePagingInfo` is used in 3 other places in this file, so I guessed that the usage of `fnPagingInfo` in the `nPageNumBox.change` block was a typo and should have been `fnExtStylePagingInfo`. This indeed fixes the problem.
@siccovansas siccovansas changed the title Fix broken update on changing input box value Fix broken update on changing the input box page value in ExtJS pagination Aug 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant