/// <summary> /// Fill the grid with the current field details /// </summary> void FillFieldDetailsGrid() { DataTable dt = FieldGridDataTable; dt.Clear(); foreach (PivotGridFieldMx f0 in PivotGrid.Fields) // fill the grid { DataRow dr = dt.NewRow(); SetFieldGridDataRow(dr, f0); dt.Rows.Add(dr); } FieldGrid.DataSource = dt; FieldGrid.Refresh(); }