This question is locked. New answers and comments are not allowed.

Rashi Patel
Top achievements
Rank 1
Rashi Patel
asked on 09 Dec 2009, 02:31 PM
Hi All,
I have a requirement where I need to merger footer columns. Is that posible?
I am using GridViewDataColumn.FooterGridViewDataColumn.Footer for showing Total amount. My senario is like:
Date | Description | Amount
.... | ............. | 100.00
.... | ............. | 100.00
-------------------------------------------
TOTAL: | 200.00
Plese give me your suggestions.
Thanks,
Rashmi
I have a requirement where I need to merger footer columns. Is that posible?
I am using GridViewDataColumn.FooterGridViewDataColumn.Footer for showing Total amount. My senario is like:
Date | Description | Amount
.... | ............. | 100.00
.... | ............. | 100.00
-------------------------------------------
TOTAL: | 200.00
Plese give me your suggestions.
Thanks,
Rashmi
5 Answers, 1 is accepted
0
Accepted
Hi Rashi Patel,
Ross
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
We can fake it like this:
<
UserControl
x:Class
=
"TicketID_265400_MergedFooter.MainPage"
xmlns:telerik
=
"clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"
xmlns:telerikData
=
"clr-namespace:Telerik.Windows.Data;assembly=Telerik.Windows.Data"
mc:Ignorable
=
"d"
d:DesignWidth
=
"640"
d:DesignHeight
=
"480"
>
<
Grid
>
<
telerik:RadGridView
Name
=
"playersGrid"
AutoGenerateColumns
=
"False"
ShowColumnFooters
=
"True"
ColumnsWidthMode
=
"Auto"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
Header
=
"Name"
DataMemberBinding
=
"{Binding Name}"
Footer
=
"Total: "
FooterTextAlignment
=
"Left"
>
</
telerik:GridViewDataColumn
>
<
telerik:GridViewDataColumn
Header
=
"Position"
DataMemberBinding
=
"{Binding Position}"
>
</
telerik:GridViewDataColumn
>
<
telerik:GridViewDataColumn
Header
=
"Country"
DataMemberBinding
=
"{Binding Country}"
>
</
telerik:GridViewDataColumn
>
<
telerik:GridViewDataColumn
Header
=
"Number"
DataMemberBinding
=
"{Binding Number}"
FooterTextAlignment
=
"Right"
>
<
telerik:GridViewDataColumn.AggregateFunctions
>
<
telerikData:SumFunction
SourceField
=
"Number"
/>
</
telerik:GridViewDataColumn.AggregateFunctions
>
</
telerik:GridViewDataColumn
>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
</
Grid
>
</
UserControl
>
If you want to remove the vertical lines that appear for every column you will have to change the template of the GridViewFooterCell with Expression Blend and remove the vertical bar element. Here is a tutorial that might be helpful if you decide to edit the cell template.
All the best,Ross
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0

Rashi Patel
Top achievements
Rank 1
answered on 31 Dec 2009, 10:34 AM
Hi Ross,
Sorry for late reply. Thanks for you solution. It worked like charm.
Regards,
Rashmi
Sorry for late reply. Thanks for you solution. It worked like charm.
Regards,
Rashmi
0

Iulian Ilies
Top achievements
Rank 1
answered on 05 May 2010, 04:52 PM
I don't think this answer the question as it is stated in the title.There is no merge happening in the footer.
I am also looking for a solution/workaround to this problem - merging the column footers; and that's why I came accross with this post.
I placed my question on this forum a few weeks ago and someone from telerik team answered me that it is not possible at this point in time.
Hopefully you guys will be able to address this in the future releases.
Regards
Iulian
I am also looking for a solution/workaround to this problem - merging the column footers; and that's why I came accross with this post.
I placed my question on this forum a few weeks ago and someone from telerik team answered me that it is not possible at this point in time.
Hopefully you guys will be able to address this in the future releases.
Regards
Iulian
0

Gautam
Top achievements
Rank 1
answered on 25 May 2011, 01:04 PM
Hi
the same requirement which is discussed here is mine .is there any way to merge the two footer column .
the same requirement which is discussed here is mine .is there any way to merge the two footer column .
0
Hello Gautam,
Ross
the Telerik team
RadGridView does not have a column footer merging feature.
The workaround I have provided earlier is the only way to mimic this.
Ross
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