-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
The quantity of selected and filtered items is summing the rows of titles and totals of the groupings #469
Comments
good catch that's because it returns row count not the item count, it would probably work by replacing the first argument of the event handler It would be nice if you can test this out and perhaps contribute with a Pull Request? slickgrid-universal/packages/vanilla-bundle/src/components/slick-vanilla-grid-bundle.ts Lines 835 to 848 in 5d6454e
|
I'm not sure why these methods need to be modified? Can you provide more details? Ahh nevermind, I see now from your print screen but that will have to be fixed on that other repo 6pac/SlickGrid which is not mine, also there was a new version released just a few days ago so there won't be any new release for some time. I suggest to create a Pull Request on that other repo and use the filter to out
I'm not sure exactly what it means, is it that you will try to contribute? I speak French/English but not more than that :P |
Oops!! |
- fixes #469 - we should always use DataView `getFilteredItemCount()` since that is really the item count that we want to show in the footer
@mcallegario
I'm about to release a new version which is why I'm pushing to fix everything before then. |
…ct item count - fixes Slickgrid-Universal issue [#469](ghiscoding/slickgrid-universal#469) - we should always use DataView `getFilteredItemCount()` since that is really the item count that we want to show in the footer `getFilteredItemCount` to show correct count, fix #469 - fixes #469 - we should always use DataView `getFilteredItemCount()` since that is really the item count that we want to show in the footer
@ghiscoding |
oh I never used the |
…th-grouping fix(footer): use `getFilteredItemCount` to show correct count, fix #469
I'm submitting a Bug report
Your Environment
Describe the Bug
When we perform grouping, the number of records displayed in the footer is considering the lines of grouping titles and grouping totals, this bug also occurs in the number of selected items.
Steps to Reproduce
Just perform groupings and display the metrics of selected and filtered records compared to the real quantity displayed in the grid
Expected Behavior
The number of items selected and filtered must be the same as those being displayed in the grid
Current Behavior
The quantity of selected and filtered items is summing the rows of titles and totals of the groupings
The text was updated successfully, but these errors were encountered: