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

Expression columns in gridGroupingControl

Thread ID:





35243 Sep 27,2005 10:01 AM UTC Sep 27,2005 02:49 PM UTC WinForms 1
Tags: GridControl
Prathima Venkobachar
Asked On September 27, 2005 10:01 AM UTC

Hi , We have a background dataTable which contains expression columns. For eg., DataColumn col1 = new DataColumn(); col1.Expression = col1 – col2; This.dataTable.Columns.Add(col1); We then bind this table to the grid. We can’t use the facility present in the grid for creating expression fields as we have other constraints. The problem is whenever we have such columns the grid takes a lot of time to come up otherwise its quite faster. Are there any means to improve the performance? Thanks, Prathima

Administrator [Syncfusion]
Replied On September 27, 2005 02:49 PM UTC

I suspect the slowdown is related to the DataColumn.Expression, and does not have anything to do with the GridGroupingControl as the grid treats the expression column just like any other column in the datatable. One thing you can try is to use an unbound column in the GridGroupingControl instead of a Expression column in the DataTable. Then in the QueryValue event, you can set the calculated value there using the passed in record. Take a look at this sample. It shows how to add a unbound field. Syncfusion\Essential Suite\\Windows\Grid.Windows\Samples\Grouping\EmployeeTerritoryOrder


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

This page will automatically be redirected to the 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