GridView.CollapseMasterRow Method

Name Parameters Description
CollapseMasterRow(Int32) rowHandle Collapses the specified master row.
CollapseMasterRow(Int32, Int32) rowHandle, relationIndex Collapses a specific detail View which belongs to the specific master row.
CollapseMasterRow(Int32, String) rowHandle, relationName Collapses a master row's detail View, identified by the name of the relationship associated with it.