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

Count on initial grid with no items #308

Open
LordDelacroix opened this issue Nov 18, 2015 · 0 comments
Open

Count on initial grid with no items #308

LordDelacroix opened this issue Nov 18, 2015 · 0 comments

Comments

@LordDelacroix
Copy link

Total Items shown in the footer for an empty grid is 1, when it should be 0 (zero) since, well, it's empty.

I believe this can be fixed at line 1556 via the following:

return self.config.pagingOptions.totalServerItems() || self.sortedData().length || 0;

instead of using:

return self.MaxRows();
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

No branches or pull requests

1 participant