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

Aggregate Function

5 Answers 88 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Avi Avni
Top achievements
Rank 1
Avi Avni asked on 19 Oct 2010, 04:58 PM

Hello

1. Can I add Aggregate Function between the rows without using groping?

2. Can I show column footers for the gird not for the columns with custom function?

Best regards

Ehud

5 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 20 Oct 2010, 07:30 AM
Hi Ehud Pinchas,

In order to provide you with any suggestions on the topics you specified, I would need a bit more information about your requirements. Where exactly do you want to situate the rows containing the aggregate functions? Based on which value do you want to calculate those aggregates ? What do you mean by showing column footers for the grid, not for the columns ?
 

Regards,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Avi Avni
Top achievements
Rank 1
answered on 20 Oct 2010, 08:43 AM

Hi Maya

  1. I need to aggregate some cells in the middle of the grid

 

Count

Name

ID

10

A

1

20

B

2

30

C

3

60

 

Total

40

D

4

50

F

5

60

G

6

150

 

Total

70

H

7

80

I

8

90

J

9

100

K

10

340

 

Total

 

  1. I need to show in the columns footer information that not aggregate the columns .

Count

Name

ID

10

A

1

20

B

2

30

C

3

40

D

4

50

F

5

60

G

6

70

H

7

80

I

8

90

J

9

100

K

10

20/10/2010

 

Date

 

 

I hope the information is clear and you can help.

 

Best Regards

Ehud

 

 

0
Maya
Telerik team
answered on 25 Oct 2010, 04:37 PM
Hi Ehud Pinchas,

I am sending you a sample project illustrating how to meet the first requirement. As for the second one, you may take a look at our demos demonstrating how to play along with the column footers.
 

Regards,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Avi Avni
Top achievements
Rank 1
answered on 27 Oct 2010, 09:32 AM

Hello Maya

You still using Grouping

<telerik:RadGridView.GroupDescriptors >

                                                <telerik:GroupDescriptor Member="Company " />

</telerik:RadGridView.GroupDescriptors>

 

I can't us grouping do you have solution for this?

The second issue resolved

Best regards

 Ehud

0
Maya
Telerik team
answered on 27 Oct 2010, 09:43 AM
Hello Ehud Pinchas,

The sample project uses Grouping as this is the way we get the aggregate results for each one of them. What is your exact requirement, based on what conditions do you want to calculate the results you want to display in those particular row ?
 

All the best,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Avi Avni
Top achievements
Rank 1
Answers by
Maya
Telerik team
Avi Avni
Top achievements
Rank 1
Share this question
or