Skip to content

How do I capture the mouse event, in this case when using rhino? #584

Discussion options

You must be logged in to vote

Hello @Roberto-Parra ,

In the Rhino code, we need to address the namespace issue in the hovered_column variable within the Shiny module, you'll need to ensure that it is properly scoped with the NS() function. Here's a detailed correction of your code:

  • No change is needed in the UI function, as it correctly uses namespacing.

  • Update the server function to use session$ns: Ensure that all input and output IDs within the server function are scoped to the module instance.
    For example,

#' @export
server <- function(id) {
  moduleServer(id, function(input, output, session) {
    ns <- session$ns  # define ns() for use within the module server
    
    output$mytable <- renderDT({
      dat…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Roberto-Parra
Comment options

Answer selected by Roberto-Parra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants