void OnCheckBoxGroupFooterCheckStateChanged(object sender, EventArgs e)
 {
     if (GroupColumn != null)
     {
         if (CheckBoxGroupFooter.Checked)
         {
             GroupColumn.GroupIndex = 0;
         }
         else
         {
             GroupColumn.GroupIndex   = -1;
             GroupColumn.VisibleIndex = 3;
         }
     }
     CurrentView.ExpandAllGroups();
     CurrentView.FocusedRowHandle = -99;
     InvalidateImage(CheckBoxGroupFooter);
 }
Ejemplo n.º 2
0
 private void UpdateMasterDetailSettings()
 {
     CurrentView.BeginUpdate();
     CurrentView.ExpandAllGroups();
     CurrentView.FocusedRowHandle = 0;
     CurrentView.TopRowIndex      = 0;
     CurrentView.SetMasterRowExpanded(CurrentView.FocusedRowHandle, true);
     if (ceMasterDetail.Checked)
     {
         if (FirstDetailView != null)
         {
             FirstDetailView.ExpandGroupRow(-1);
         }
     }
     else
     {
         CurrentDetailView.ExpandAllGroups();
     }
     CurrentView.EndUpdate();
 }