Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

226
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!