Hello Minakshi,
Thank you for getting back to us!
I believe you will find the following sample I have prepared for you very helpful. As you can observe there isn’t a selected/activated cell after deleting a row. The approach I’m using is very similar to the one provided by Tihomir and as you can observe even using IgniteUI for Angular 10.1.0 it is still working. Having this in mind I suggest checking for any discrepancy between the code within the provided sample and your project.
If this sample is not an accurate demonstration of what you are trying to achieve please feel free to modify it and send it back to me for further investigation.
Looking forward to hearing from you.
Best Regards, Martin Evtimov Associate Software Developer Infragistics, Inc.
Hi Tihomir,
This issue was resolved but now re-occurring after upgrading Ignite UI for Angular to 10.1.0 version. The fix provided by you still exist in the my code but it seems not working now. Please can you look into it once again.
Thank u so much. This code resolved my issue.
Thank you for the provided images.
In case you have rowSelection enabled, having a button on a row will select the row with that index. When a row is removed, the grid will re-initialize to display the newly created data, and will re-emit events for selection as there was selected row before the deletion.
In order to remove the selection, you will have to clear it manually. I have attached a sample where you can check which properties you will need to modify:
sample
Should you have any further questions, please let me know.
Sincerely,Tihomir TonevAssociate Software DeveloperInfragistics
I am explaining the issue by sending the screenshots of the scenarios.
These are the rows before deleting a row.
After deleting the 2nd row, the delete button gets selected in the current second row.
I want this button to not get selected.
I will look into the code you have provided , if that solves my issue.