Edit this page


Method which expands a group. It receives as a parameterthe closest data row to the group header or directly the group header. The method accepts an optional parameter called Options.It provides more control over the expand behavior.

"Options" parameter properties
expandChildren Will expand all child groups
expandParents Will expand all parent groups
collapseChildren Will collapse all child groups
collapseParents Will collapse all parent groups
toggleChildren Will expand/collapse all child groups according to the state of the current group
toggleParents Will expand/collapse all parent groups according to the state of the current group
findClosestGroup Will expand the first parent group


function ExpandGroupUsingDataItem() {
    var masterTableView = $find("<%=RadGrid1.ClientID %>").get_masterTableView();
        expandChildren: false,
        findClosestGroup: true

function ExpandGroupUsingGroupHeader() {
    var masterTableView = $find("<%=RadGrid1.ClientID %>").get_masterTableView();
    var groupHeader = $telerik.getElementsByClassName(masterTableView.get_element(), "rgGroupHeader")[4];
        expandChildren: false,
        expandParents: true
Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article