private void activityDetails_RadGridView_GroupSummaryEvaluate(object sender, GroupSummaryEvaluationEventArgs e)
 {
     if (e.SummaryItem.Name.Contains("Status", StringComparison.OrdinalIgnoreCase))
     {
         e.FormatString = "{0}: ({1} Activities)".FormatWith(e.Value, e.Group.ItemCount);
     }
 }
Beispiel #2
0
 private void radGridView1_GroupSummaryEvaluate(object sender, GroupSummaryEvaluationEventArgs e)
 {
     if (e.Value == null)
     {
         e.FormatString = e.Group.Key.ToString() + " ({2})";
     }
 }
Beispiel #3
0
 private void gridMyCollection_GroupSummaryEvaluate(object sender, GroupSummaryEvaluationEventArgs e)
 {
     if (e.Parent != gridMyCollection.MasterTemplate && e.SummaryItem.AggregateExpression == null)
     {
         e.FormatString = $"{e.Value} / {e.Group.ItemCount} cards.";
     }
 }
Beispiel #4
0
        void radGridView_GroupSummaryEvaluate(object sender, GroupSummaryEvaluationEventArgs e)
        {
            if (this.UseDefaultGrouping(e.Group.Level))
            {
                return;
            }

            e.FormatString = this.GetColorName(e.Group.Key.ToString());
        }
Beispiel #5
0
        private void radGridView1_GroupSummaryEvaluate(object sender, GroupSummaryEvaluationEventArgs e)
        {
            if (this.UseDefaultGrouping(e.Group.Level))
            {
                return;
            }

            if (e.Value == null)
            {
                e.FormatString = "Photo \"" + e.Group.Key.ToString() + "\"";
            }
        }
Beispiel #6
0
        private void radGridView4_GroupSummaryEvaluate(object sender, GroupSummaryEvaluationEventArgs e)
        {
            //Get Summary Value
            string PB  = vboronganTableAdapter.GetSumTipeTanggal("PB", DateTime.Parse(e.Value.ToString())).ToString();
            string LB2 = vboronganTableAdapter.GetSumTipeTanggal("LB2", DateTime.Parse(e.Value.ToString())).ToString();
            string LB3 = vboronganTableAdapter.GetSumTipeTanggal("LB3", DateTime.Parse(e.Value.ToString())).ToString();
            string LK2 = vboronganTableAdapter.GetSumTipeTanggal("LK2", DateTime.Parse(e.Value.ToString())).ToString();
            string LK3 = vboronganTableAdapter.GetSumTipeTanggal("LK3", DateTime.Parse(e.Value.ToString())).ToString();
            string TB  = vboronganTableAdapter.GetSumTipeTanggal("TB", DateTime.Parse(e.Value.ToString())).ToString();

            e.FormatString = @"{1:dd MMM yyy} "
                             + (string.IsNullOrEmpty(PB)?"":"[PB - " + PB + "] ")
                             + (string.IsNullOrEmpty(LB2)?"":"[LB2 - " + LB2 + "] ")
                             + (string.IsNullOrEmpty(LB3)?"":"[LB3 - " + LB3 + "] ")
                             + (string.IsNullOrEmpty(LK2) ? "" : "[LK2 - " + LK2 + "] ")
                             + (string.IsNullOrEmpty(LK3) ? "" :"[LK3 - " + LK3 + "] ")
                             + (string.IsNullOrEmpty(TB) ? "" :"[TB - " + TB + "] ");

            //e.FormatString = "Ada Deh";
        }
Beispiel #7
0
 private void rgvStocks_GroupSummaryEvaluate(object sender, GroupSummaryEvaluationEventArgs e)
 {
 }
Beispiel #8
0
 private void radGridView1_GroupSummaryEvaluate(object sender, GroupSummaryEvaluationEventArgs e)
 {
     totalC = Convert.ToString(e.Value);
 }
Beispiel #9
0
 private void rgvStocks_GroupSummaryEvaluate(object sender, GroupSummaryEvaluationEventArgs e)
 {
     if (e.SummaryItem.Name == "total")
     {
     }
 }