private bool IsNullValue(DevExpress.XtraPivotGrid.PivotDrillDownDataSource ds, DevExpress.XtraPivotGrid.PivotGridField field)
 {
     if (ds.RowCount == 0)
     {
         return(false);
     }
     for (int i = 0; i < ds.RowCount; i++)
     {
         if (!Equals(ds[i][field], null))
         {
             return(false);
         }
     }
     return(true);
 }
        private void ShowDrillDown(DevExpress.XtraPivotGrid.PivotDrillDownDataSource pivotDrillDownDataSource)
        {
            DrillDownItemsForm form = new DrillDownItemsForm(pivotDrillDownDataSource);

            form.ShowDialog();
        }
 internal void Display(DevExpress.XtraPivotGrid.PivotDrillDownDataSource pivotDrillDownDataSource)
 {
     gridControl.DataSource = pivotDrillDownDataSource;
     this.ShowDialog();
 }