Edit this page

collapseAllGroups

Method which collapses all groups. It receives an optional parameter indicating which group level should be collapsed.

Example:

function CollapseAllGroups() {
    var masterTableView = $find("<%=RadGrid1.ClientID %>").get_masterTableView();
    masterTableView.collapseAllGroups(2);
}