We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

show sum of the time column in GGC (ver : )

Thread ID:





103577 May 14,2012 05:03 AM May 15,2012 12:33 AM Windows Forms 1
Tags: Grouping
Asked On May 14, 2012 05:03 AM

i m using and want to show sum of the time column in GGC , please help me and send a sample if it is possible ,


Asarudheen S [Syncfusion]
Replied On May 15, 2012 12:33 AM

Hi Abedini,


Thank you for your interest in Syncfusion products.


You can achieve the reported behavior “sum of the time column in GGC” through the feature expression column. A sample regarding   this has been shipped   in the our dashboard. Please refer the following location for the sample.


..\..\AppData\Local\Syncfusion\EssentialStudio\\Windows\Grid.Grouping.Windows\Samples\2.0\Filters and Expressions\Expression Field Demo


Please refer the following code to make the sum for the time column.


          string expressionName = "Expression 1";

                GridColumnDescriptor gridExprColumn = new GridColumnDescriptor();

            gridExprColumn.MappingName = expressionName;






            this.gridGroupingControl1.TableDescriptor.ExpressionFields[expressionName].Expression = "[Time1] +[Time2]";

            this.gridGroupingControl1.TableDescriptor.ExpressionFields[expressionName].ResultType = "System.Date";

            this.gridGroupingControl1.TableDescriptor.VisibleColumns.Insert(index, expressionName);


Please let us know if you need any further assistance.





This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.