How to disable or hide buttons && rows

Hi @jfortun,

  1. I want to disable or hide the following buttons based on a field value.

Ex: - if
Status = “WON”
Then
The Edit button should be hidden or disabled

  1. Can we make table rows read-only? I want to avoid getting sent to the edit screen after selecting a row. Can we do it?

Duplicate of How to disable or hide button & rows - #3 by jfortun
Closing. In the future @Dilmi please do not open duplicate threads, it doesn’t help in any way.
Also search for existing threads with the same questions before you open a new one.