• Resolved jkacher

    (@jkacher)


    I followed your example, this is the code in global hook:
    function myCustomAction(renderedValue) {
    const button = window.document.createElement(“button”)
    button.innerHTML = “My Custom Action”
    button.setAttribute(“onclick”, alert("My custom action for ${renderedValue}"))
    return button
    }
    This is the code in the Render hook:
    ((columnName, originalValue, renderedValue, row) => {
    return myCustomAction(renderedValue);
    })

    It works – until you set some search parameter using the looking glass,
    most of the time it deos not respond, the Inspect shows this message:
    Uncaught SyntaxError: missing ) after argument list

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Kim L

    (@kimmyx)

    Hi @jkacher,

    Thanks for the question and we see the issue you mentioned.

    I’ll check if this is a bug or a limitation of the hook.

    I’ll let you know as soon as I receive feedback from Peter. ☺️

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.