- Home
- Forum
- React - EJ 2
- Deleting Grid Rows Dynamically
Deleting Grid Rows Dynamically
Hi,
I have a grid table with checkbox and paging. I have also set persistSelection, allowPaging and AllowDelete to True. I am trying to delete rows dynamically with the grid function below:
grid.deleteRecord('id', rows);
where rows is an Object[] retrieved from the grid.getSelectedRecords() which I have filtered out Objects which I do not need. However, the outcome is not what I have expected. All records on every other pages are selected but only those on the first page are deleted. Those records on other pages will remain to be selected and not removed from the grid table.
Then I tried to replace rows with grid.getSelectedRecords():
grid.deleteRecord('id', grid.getSelectedRecords());
This encountered the same problem as well. Looking forward to your help.
Thank you.
SIGN IN To post a reply.
3 Replies
1 reply marked as answer
RS
Rajapandiyan Settu
Syncfusion Team
March 24, 2021 12:56 PM UTC
Hi Eddy,
Thanks for contacting Syncfusion support.
We can reproduce the reported behavior at our end. We have confirmed this is an issue from our side and logged a bug for the same as “Unable to delete multiple records from another page at the same time in Grid”. At Syncfusion, we are committed to fixing all validated defects (subject to technical feasibility and Product Development Life Cycle ) and will include the defect fix in our upcoming patch release which will be rolled out on Apr 7th, 2021.
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.
Please get back to us if you need further assistance with this.
Regards,
Rajapandiyan S
EM
Eddy Mackonade
April 9, 2021 05:43 AM UTC
Thank you.
MS
Manivel Sellamuthu
Syncfusion Team
April 12, 2021 06:15 AM UTC
Hi Eddy,
Thanks for your update.
We are glad to announce that our Essential Javascript2 patch release (v19.1.55) has been rolled out successfully and in that release we have added the fix for the issue - “Unable to delete multiple records from another page at the same time in Grid”. So please update your packages to this version to include the fix.
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Regards,
Manivel
Marked as answer
SIGN IN To post a reply.
- 3 Replies
- 3 Participants
- Marked answer
-
EM Eddy Mackonade
- Mar 20, 2021 10:44 AM UTC
- Apr 12, 2021 06:15 AM UTC