How to disable Edit option in grid listing page based on specific row status condition.

I have a grid listing page where i need to disable...