Should every line in a grid have edit icons?

We have an application with many grids. The current design is that only the currently active row shows the edit and delete icon. Is this a good practice, or should every line have the edit/delete icon.

Thanks