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.
Syncfusion Feedback

Formula

Thread ID:

Created:

Updated:

Platform:

Replies:

96321 Sep 6,2010 07:33 AM UTC Sep 7,2010 06:29 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Faizal Ahmd
Asked On September 6, 2010 07:33 AM UTC

In the syncfusion grid , in each and every row i would like to add range of cells and display the total in the last cell.I have attached screen shot also.I would like to apply formula in the last cell (total).Help me in implement this feature in my grid.

Thanks and Regards,
Faizal Ahmed.H



TimeSheet_6dc078aa.rar

Manickam Chidambaram [Syncfusion]
Replied On September 7, 2010 06:29 AM UTC

Hi Faizal,

Thanks for your interest in Syncfusion products.

We suggest you to use “GridExpressionFieldDescriptor” of Grid control to achieve your requirement. By using this, the formula (expression) can be applied and the result is displayed in the seperate Grid cell. Please refer the below code snippet.

[CodeBehind-C#]

//page load of aspx
GridExpressionFieldDescriptor efd = new GridExpressionFieldDescriptor();
//Expression/formula to be used
efd.Expression = " [sun]+ [mon]+[tue]";
// Expression Field Descriptor Name
efd.Name = "Total";
// Adding Expression fields to the collection
this.GridGroupingControl1.TableDescriptor.ExpressionFields.Add(efd);


In the above code, sun, mon and tue refers to column names in the Grid. Please try using the above code and let us know if it helps.

Regards,
Manickam



CONFIRMATION

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.

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

;