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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





103577 May 14,2012 09:03 AM UTC May 15,2012 04:33 AM UTC WinForms 1
Tags: Grouping
Asked On May 14, 2012 09:03 AM UTC

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 04:33 AM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon