HierarchyView

Essential Grid’s GridGroupingControl supports hierarchical datasets that can be customized at design time. The preview option lets you preview and edit the grid with live data. You can also export and import the look and feel or schema of information of the grid as xml and almost all the properties can be set through the Designer.

This is how the sample looks immediately after execution.

HierarchyView

HierarchyView-After Execution

Code to add the GroupDropArea for the related table.

    		this.gridGroupingControl1.AddGroupDropArea("Orders");  

Code to hide the Captioncell and its button for the Nested Table.

    		this.gridGroupingControl1.NestedTableGroupOptions.ShowCaptionPlusMinus = false;
    		this.gridGroupingControl1.NestedTableGroupOptions.ShowCaption = false;  

Code to invoke the PropertyDialog Window and to set its properties.

    		GroupingGridPropertyDialog frm = new GroupingGridPropertyDialog(this.gridGroupingControl1);
    		Rectangle r = System.Windows.Forms.SystemInformation.WorkingArea;
    		frm.Size = new Size(350, 500);
    		r = Rectangle.FromLTRB(r.Right-frm.Width, r.Top, r.Right, frm.Height);
    		frm.Bounds = r;
    		frm.Visible = true;
    		frm.Bounds = r;