How check condition for display when add row list action?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sanhdp
    Junior Member
    • Jan 2025
    • 2

    How check condition for display when add row list action?

    I I have 2 more button action lists: siteStop and siteStart in rowActionList. On the list screen I want to check additional conditions to display these 2 buttons. The condition must satisfy the status taken from the database. I tried custom-views and View setup handlers but it doesn't work. please help me
    Attached Files
  • yuri
    Member
    • Mar 2014
    • 8510

    #2


    The actionFunction does not work here (at least not documented). Your handler should extend "handlers/row-action". There's the 'isAvailable' method which you can extend.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...