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.

Switching of pages at server-side paging with filter doesn't work or works from the second time.

See original GitHub issue

I’m submitting a … (check one with “x”)

[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Current behavior Switching of pages at server-side paging with filter doesn’t work or works from the second time. Showing empty area without default ‘empty’ text (No data to display):

Expected behavior The pager must switched to next page and show new fetched rows

Reproduction of the problem the component code http://pastebin.com/pA4bYezn

the template code http://pastebin.com/ncWhjvPX

screenshots before search: http://dl1.joxi.net/drive/2016/11/08/0004/1376/279904/04/32943b796c.jpg

on first trying search: http://dl2.joxi.net/drive/2016/11/08/0004/1376/279904/04/ed5eee6e99.jpg

on second trying search: http://dl2.joxi.net/drive/2016/11/08/0004/1376/279904/04/e5ebbeec88.jpg

on change page http://dl1.joxi.net/drive/2016/11/08/0004/1376/279904/04/ad71a0fc9d.jpg

What is the motivation / use case for changing the behavior? I think what it is bug

Please tell us about your environment: Windows10 WebStorm npm 3.10.8 node v6.8.1

  • Table version: 1.3.x

  • Angular version: 2.0.x

  • Browser: all

  • Language: [all | TypeScript X.X | ES6/7 | ES5] all

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
karmiscommented, Nov 10, 2016

I cant create the demo plunkr, but can take more info about this bug. The bug i show an in the demo server-side pager just now

So… source code fully from the demo server side pager… http://pastebin.com/KnfYuu8Y

Current behavior: ctrl+R (chrome) in component with table(only): http://dl2.joxi.net/drive/2016/11/10/0004/1376/279904/04/8e0d47c75d.jpg

In markup datatable directive I see it: http://dl1.joxi.net/drive/2016/11/10/0004/1376/279904/04/832046c217.jpg

but after resize browser window all working all right: http://dl2.joxi.net/drive/2016/11/10/0004/1376/279904/04/46299f6c6b.jpg (nearly http://dl1.joxi.net/drive/2016/11/10/0004/1376/279904/04/36d1e02c94.jpg)

Fix pls it.

0reactions
deegcommented, Feb 27, 2017

This is a duplicate of #515. See that issue and associated PR for details.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pager not working properly after filtering with ... - Telerik
The problem is with the pager. It does not update properly when we use a filter on the grid. Say we have a...
Read more >
How to fix pagination reset issue in react-table? - Stack Overflow
I have tried to use the callback onFetchData to change the current page number but it does'nt get triggered when the filter from...
Read more >
Tutorial: Add sorting, filtering, and paging with the Entity ...
Run the page, enter a search string, and click Search to verify that filtering is working. Notice the URL doesn't contain the "an"...
Read more >
Client Side vs Server Side Pagination: How to Choose the ...
The biggest downfall to Client Side Processing is that all the data gets loaded when the user first accesses the page with the...
Read more >
20. Server Side Pagination, Filtering, Search & Sorting with ...
In this video we go over:- How to implement server side functionality in material table with react- How to implement pagination, filter ......
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