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

227
Visualizações
How to find out if a subgrid is being displayed

Is there a way to tell if a subgrid is currently being displayed? I need this information to resize the parent grid(s).

Thanks in advance.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

One possible solution is to check if the subgrid row exists and is visible. jqGrid creates a row under the parent row which is combination of the id of the jqGrid + _rowId + _expandedContent.

Knowing the id of the row and the id of jqGrid you can easy check

var res = $("#jqGrid").find("#jqGrid_"+rowId+"_expandedContent");
if(res.length && !res.is(":hidden") ) {
    alert("subgrid is displayed");
} else  {
    alert("subgrid is not displayed");
}

where jqGrid is the id of jqGrid and rowId is the id of the row.

about 4 years ago · Juan Pablo Isaza Relatório
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