w2grid.collapse

Called when user clicks on the collapse record icon.
collapse(recid)
recid string, id of the clicked record
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:

User Comments

comments powered by Disqus