using DevExpress.XtraPivotGrid; // Retrieve a child node of the root node IModelNode childNode = pivotGridControl1.Model.Root.GetChild(0); // Do something with the child node childNode.Visible = false;
using DevExpress.XtraPivotGrid; // Retrieve a child node of a field header node IModelNode childNode = pivotGridControl1.Fields["Category"].Model.GetChild(0); // Do something with the child node childNode.Visible = false;This example retrieves the first child node of the Category field's header node in a pivot grid control's hierarchy and sets its visibility to false.