Home › Forums › Guriddo jqGrid JS › Help › The “subGridRowExpanded” event returns the wrong row ID.
Tagged: #collapseSubGridRow, Subgrid, subgridrowexpanded
The “subGridRowExpanded” event returns the wrong row ID if the grid row was collapsed using the “collapseSubGridRow” method.
Such kind of description of the problem will not help you.
In order to get quality support you will need to prepare a working test case.
You can publish it here, send it to support team or prepare online version.
Please note the phrase – working test case
Guriddo Support Team
The aim is to close an already expanded row when a new row expands.
Step to reproduce the issue.
Step1: Exapand any row.
Step2: Now expand any other row, the value “id” from “subGridRowExpanded” event got the incorrect row id.
Thank you for the test case. It is much easier to solve this way the problem.
The problem appear in subGridBeforeExpandRow which triggers a click which actually forces the expandGridRow (Catch 22)
To solve the problem use the following trick:
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS