New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

collapseItem

Method which collapses the table row with index passed as an argument.

collapseItem(index)
indexIntegerThe row corresponding to the index will be collapsed.

Example:

JavaScript
function CollapseFirstMasterTableViewItem() {
    $find("<%= RadGrid1.ClientID %>").get_masterTableView().collapseItem(0);
}
function CollapseFirstDetailTableFirstItem() {
    $find("<%= RadGrid1.Items[0].ChildItem.NestedTableViews[0].ClientID %>").collapseItem(0);
}
Not finding the help you need?
Contact Support