How to condition the visibility of the edit button in GroceryCrud based on data from the database when rendering?

I need to show the GroceryCrud edit button depending on a database data


I understand that when rendering grocerycrud, first the data arrives as to whether or not it will have the edit button,
I asked AIs to provide me with a solution and nothing, I also checked the forums and I did not get any solution in this regard.