예제 #1
0
 private void avdHstGridView_CustomSummaryExists(object sender, CustomSummaryExistEventArgs e)
 {
     if (e.Item is GridGroupSummaryItem)
     {
         var fn = (e.Item as GridGroupSummaryItem).FieldName;
         if (e.IsGroupSummary && (colDDVZ.GroupIndex == -1 || e.GroupLevel < colDDVZ.GroupIndex) && (fn == "DBRC" || fn == "DALC" || fn == "DBKY"))
         {
             e.Exists = false;
             colCompDrunTotal.Visible = false;
         }
         else
         {
             colCompDrunTotal.VisibleIndex = colDALC.VisibleIndex + 1;
         }
     }
 }
예제 #2
0
 private void afbGridView_CustomSummaryExists(object sender, CustomSummaryExistEventArgs e)
 {
     /*
      * GridView view = (GridView)sender;
      * GridSummaryItem item = e.Item as GridSummaryItem;
      * if (item == null) return;
      * GridColumn col = view.Columns[item.FieldName];
      * if (col == null) return;
      */
     if (e.Item is GridGroupSummaryItem)
     {
         var aaa = e.Item;
         var fn  = (e.Item as GridGroupSummaryItem).FieldName;
         //if (e.IsGroupSummary && e.GroupLevel != colBDVZ.GroupIndex && fn == "BTUTBRT")
         if (colBDVZ.GroupIndex == -1 && fn == "BTUTBRT")
         {
             e.Exists = false;
         }
         else if (e.GroupLevel < colBDVZ.GroupIndex && fn == "BTUTBRT")
         {
             e.Exists = false;
         }
     }
 }
예제 #3
0
 private void gridView_CustomSummaryExists(object sender, CustomSummaryExistEventArgs e)
 {
     e.Exists = true;
 }
예제 #4
0
 private void gridView_CustomSummaryExists(object sender, CustomSummaryExistEventArgs e)
 {
     e.Exists = true;
 }
예제 #5
0
 void OnCustomSummaryExists(object sender, CustomSummaryExistEventArgs e)
 {
     e.Exists = e.GroupLevel == 0;
 }
예제 #6
0
 void gridView1_CustomSummaryExists(object sender, CustomSummaryExistEventArgs e)
 {
 }
예제 #7
0
 private void grid_CustomSummaryExists(object sender, CustomSummaryExistEventArgs e)
 {
     e.Exists = e.GroupLevel == 0;
 }