This is a migrated thread and some comments may be shown as answers.

Does your WPF grid support simple user-defined formulas like the Infragistics grid?

3 Answers 114 Views
GridView
This is a migrated thread and some comments may be shown as answers.
R
Top achievements
Rank 1
R asked on 05 Aug 2014, 11:49 AM
Hi, does your WPF grid support simple user-defined formulas like the Infragistics grid?

I'm looking at the possibility of port ing from Infragistics to you guys but I need functionality.

The feature is a formula button in the grid column header  which has options to Sum, average, count, max, min the values. Once selected it inserts a special row under the header to show the results. If unselected it disappears. Attachment shows this.

Please let me know if you do or do not support this.

Thanks a lot. 

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 06 Aug 2014, 11:37 AM
Hi,

We suggest user defined functions through our ExpressionEditor control. You can check the WPF Demos on how to integrate it with RadGridView. To find them, please navigate to RadExpressionEditor Examples. 

I am afraid we do not suggest the exact functionality you gave as an example. You can still manually define Aggregate Functions for RadGridView's columns.

Regards,
Didie
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
R
Top achievements
Rank 1
answered on 13 Aug 2014, 01:30 PM
Can you add this functionality ?  Basically if you can't support this we may have to go this Infragistics.
0
Dimitrina
Telerik team
answered on 15 Aug 2014, 11:17 AM
Hi,

We do not suggest such an exact functionality. We decided to give the users more freedom and the ability to define different kind of aggregate functions.
You can benefit from the below three options:
- RadExpressionEditor. This First Look example demonstrates how you can place it directly in column's header.  You can also check the Filtering RadGridView example on another way to integrate it with RadGridView.
- GridViewExpressionColumn.
- Generic Aggregate function. You can check the Calculated Column demo as an example on how to define such aggregate. In the example it is applied on GridViewExpressionColumn, however, you can do so for every other column.

You can also include an additional menu in the column's header and manually add the proper aggregate function as a specific menu item is clicked.

Regards,
Didie
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GridView
Asked by
R
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
R
Top achievements
Rank 1
Share this question
or