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

IdsDataGrid: The selection check box cannot select/deselect all the records #1612

Open
Varalaxmi26 opened this issue Nov 7, 2023 · 3 comments
Labels
type: enhancement ✨ New feature or request [3] Velocity rating (Fibonacci)

Comments

@Varalaxmi26
Copy link

Steps to reproduce the behavior:
1- Load the data grid with some records
2- Go to the last page. The last page contains the records less than the page-size drop-down. (ex: the last page contains 4 records)
3- Go to the first page.
4- Click on the Select all check box. Now observe. Only a few records were selected which were presented on the last page(here 4). Internally The data grid data is not updating with the latest page selection. Other records were not able to be selected.

Expected behavior
The selection check box should be able to select and deselect all the records on the current page.

Screenshots
MicrosoftTeams-image (2)

@tmcconechy tmcconechy changed the title The selection check box cannot select/deselect all the records in the multi-select data grid with server-side pagination every time. IdsDataGrid: The selection check box cannot select/deselect all the records Nov 7, 2023
@tmcconechy tmcconechy added type: enhancement ✨ New feature or request [3] Velocity rating (Fibonacci) labels Nov 7, 2023
@tmcconechy
Copy link
Member

We probably need the feature to select across all pages for this to work #1565

Would you be able to add a working example / reduced test case. I'm a bit unclear on these especially number 2.

@Varalaxmi26
Copy link
Author

We probably need the feature to select across all pages for this to work #1565

Would you be able to add a working example / reduced test case. I'm a bit unclear on these especially number 2.

The last page means, here that was the 100th page in the screenshot. The page should contain only four records(the page size is 10). As it is a server-side search every page may not contain the records equal to the page size.

I can reproduce this in the demo example by making some changes. How to give that working example here?

@tmcconechy
Copy link
Member

Great! You can just put it in the a zip file and upload it here and say; "replace the example xxx with the files in the zip"

Or you could provide a fork or put it in ``` (backticks) if not too big in size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement ✨ New feature or request [3] Velocity rating (Fibonacci)
Projects
None yet
Development

No branches or pull requests

2 participants