Called when user clicks on the collapse record icon.
collapse(recid, [noRefresh])
recid |
string, id of the clicked record |
noRefresh |
boolean, optional, indicates if record does not need to be updated on screen |
Returns boolean.
Description
This method will try to collapse previously expanded record. It will remove the TR and DIV that was inserted by
.expand() method and will unselect the record.
If you have grid defined in the following way:
You can collapse expanded record: