Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

130
Visualizações
How to get the shiny input id of current screen focus?

I defined my own rhansontable right-click event.

I have two rhandsontables on screen. Both are wrapped in uiOutput.

Now I right click a table cell "Action A", and cusslct is assigned a new value.

The question is I want to know the right click from which table on the screen.

Any idea ?

insert_slct_vct_cus <- function(target_table) {
  rhandsontable::hot_context_menu(
    hot = target_table,
    # allowRowEdit = FALSE,
    # allowColEdit = FALSE,
    customOpts = list(
      schedule_editor_menu = list(
        name = "Select vector",
        callback = htmlwidgets::JS(
          "function(key, options) {
              var val = Math.random();
              Shiny.setInputValue(
                'body_ui_1-assumptions_ui_1-cusslct',
                val,
                {priority: 'event'});
          }"
        )
      )
    )
  )
}
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda