Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last row keeps refreshing #2

Open
jason-cao123 opened this issue Jan 9, 2020 · 9 comments
Open

Last row keeps refreshing #2

jason-cao123 opened this issue Jan 9, 2020 · 9 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@jason-cao123
Copy link

I don't want to add extra dummy lines at the end of the data table, but in this case, the last row keeps refreshing. How can I resolve this? Thank in advance.

@jason-cao123
Copy link
Author

image
Add a screenshot to display the issue.

@rodydavis
Copy link
Owner

That is if you are using the estimate row count. You can set that to false. I am open to PRs too.

@jason-cao123
Copy link
Author

@rodydavis Are you referring to the rowCountApproximate property? I already set it as false, but the result is the same.

@rodydavis
Copy link
Owner

Weird, I’ll have to see what’s causing it though. How many total items do you have? And how many per page?

@jason-cao123
Copy link
Author

I have 12 items in total and 10 per page.

@jason-cao123
Copy link
Author

Hi @rodydavis, any update?

@rodydavis
Copy link
Owner

Try with the flutter what and see if it is still an issue. If it is then it is the underling material widget. https://youtu.be/ktTajqbhIcY

@rodydavis rodydavis transferred this issue from rodydavis/plugins Jan 31, 2020
@rodydavis rodydavis added bug Something isn't working help wanted Extra attention is needed labels Mar 31, 2021
@rodydavis
Copy link
Owner

I am open to PR's but i cannot reproduce this issue.

@joielechong
Copy link

joielechong commented Apr 5, 2021

Hi @rodydavis, the problem can be reproduced by using the default.dart example in data_tables library. Clicking the next button until the last page will reproduce the problem.


Retrying the example with rowCountApproximate set to false didn't reproduce the problem. Everything seems okay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants