question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change page size without re-render search block

See original GitHub issue

Hello!

When I try $table.bootstrapTable('refreshOptions', {pageSize: 10}) for change page size from x to 10 or any, all controls from div on the top right part of header table (search field, refresh button) is full recreated. And all of my modifications of this div was cleared.

How can i change pageSize without re-render search block?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
djhvscfcommented, Feb 6, 2017

I think we can create a new method in order to do that. @Shpartko this method can be the same as selectpage or prevpage or nextpage

0reactions
wenzhixincommented, Feb 16, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Rerender view on browser resize with React - Stack Overflow
Background. I have some blocks that I want to layout individually on the page, however I also want them to update when the...
Read more >
Re-render a React Component on Window Resize | Pluralsight
Now we have set up some internal state, dimensions , that has height and width properties. Inside handleResize , we no longer simply...
Read more >
5 Ways to Avoid React Component Re-Renderings
1. Memoization using useMemo() and UseCallback() Hooks. Memoization enables your code to re-render components only if there's a change in the props. With...
Read more >
Content Jumping (and How To Avoid It) | CSS-Tricks
The downside is that they only work when you set dimensions explicitly; min- properties and content-derived layout changes won't transition.
Read more >
ResizeObserver: it's like document.onresize for elements
ResizeObserver lets you know when an element's size changes. ... elements change their size without the main window having been resized.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found