Jump to content

Edit History

SRUTHI R BABU

SRUTHI R BABU

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

1846124254_Screenshot-2022-08-02T125207_964.png.ccb9735811e486e04a901c227e4f16ae.png 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

SRUTHI R BABU

SRUTHI R BABU

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

1846124254_Screenshot-2022-08-02T125207_964.png.ccb9735811e486e04a901c227e4f16ae.png Here's the screenshot of what I am trying to do. The cross mark means need to be disabled. As you can the field right before that is also done according to the said condition

×
×
  • Create New...