I need to put an expand/collapse button outside of the grid to expand/collapse all rows and bands. Is there an example of this somewhere in the sample code?
Thanks
I think I found a solution.
I have a button called ExpandRows:
private void ExpandRows_Click(object sender, EventArgs e)
{
for (int i = 0; i < this.WebHierarchicalDataGrid2.GridView.Rows.Count; i++)
this.WebHierarchicalDataGrid2.GridView.Rows[i].Expanded = true;
}
This works. If anyone knows of a better solution please reply