function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
shreya duggalshreya duggal 

focus jumping to last column of above row after deleting a row?

I am using lighting datatable to show the data. The problem which I am facing is when I delete a row from a table it removes the row correctly but it focuses the last column of the previous row. So when I try to delete that row it remains inactive for random few seconds and always jumps to the same last focused column. 
This doesn't create an issue if there is no scrollbar in the table but it is quite frustrating in case of scrollbar as I am not being able to delete a record on every delete after the first delete for few seconds as it doesn't allow me to click on the button instead takes me the to last column. Can anyone help me out with this issue? I am also attaching a screenshot for better understanding.
User-added image