How do I capture the mouse event, in this case when using rhino? #584
Answered
by
PawanRamaMali
Roberto-Parra
asked this question in
Q&A
|
This is an example where the column the mouse passes over in the table is captured. In rhino version: Questions:
|
Answered by
PawanRamaMali
May 28, 2024
Replies: 1 comment 1 reply
|
Hello @Roberto-Parra , In the Rhino code, we need to address the namespace issue in the
|
1 reply
Answer selected by
Roberto-Parra
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @Roberto-Parra ,
In the Rhino code, we need to address the namespace issue in the
hovered_columnvariable 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,