Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

221
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda