I need to disable edit button based on a my module's renderlist from an admin controller I had created.
Eg: if the value has a date >= today edit button should be working it should be disabled.
I understand that I could just redirect the edit link to listing page for a date expired case but if it's possible to disable the edit button it would be better
Here's the screenshot of what I am trying to do. The cross mark means need to be disabled. As you can see the field right before actions column is also done according to the said condition