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

[Solved] Grid GroupFooter Total

0 Answers 106 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rahul
Top achievements
Rank 1
Rahul asked on 07 Sep 2009, 07:49 AM
I hv grid , i calculate the the row content total in below i want the total like tis

Grouping within Grouping

grid group by First group by Marks , Age
Then Group by Div

--------------------------------------------------------------------
Emp          Marks                Age             Per       Div
--------------------------------------------------------------------
Marks    : 55            Age : 25                Div  : A
--------------------------------------------------------------------
rahul         55                     25                   60         A
kailsh         55                    25                  70          A
--------------------------------------------------------------------
                        Count        2                                    2
-------------------------------------------------------------------
Marks    : 55            Age : 25                Div  : B
--------------------------------------------------------------------     
nitin             55                   25                   80         B
--------------------------------------------------------------------
                        Count       1                                   1


-------------------------------------------------------------------
Marks    :45            Age : 26                Div  : C
-------------------------------------------------------------------- 
abc           45                     26                  90            c
pqr            45                     26                  90            c
------------------------------------------------------------------
                        Count        2                                    2


I Want Group Footer Like this
If inner group div is different dont show the footer of first group statment , it will calucate the whole group count example shown below .....   It fist groups the  Marks    : 55            Age : 25          Div  : A  Then It it will gorup within that group
Marks    : 55            Age : 25                Div  : B whose Div B ...........Total count of the group is 3 ? how to do this like below example now i will get the output is like above sample

--------------------------------------------------------------------
Emp          Marks                Age             Per       Div
--------------------------------------------------------------------
Marks    : 55            Age : 25                Div  : A
--------------------------------------------------------------------
rahul         55                     25                   60         A
kailsh         55                    25                  70          A
-------------------------------------------------------------------
Marks    : 55            Age : 25                Div  : B
--------------------------------------------------------------------     
nitin             55                   25                   80         B
--------------------------------------------------------------------
                        Count       3                                  3


-------------------------------------------------------------------
Marks    :45            Age : 26                Div  : C
-------------------------------------------------------------------- 
abc           45                     26                  90            c
pqr            45                     26                  90            c
----------------------------------------------------------------
                        Count        2                                    2



kindly please help me urgent ..... How hide the total of first group it calculate the first + second group then show the total.




Thanks
Regards
Rahul





          

     <telerik:RadGrid ID="dgAddCart" runat="server" AutoGenerateColumns="False" GridLines="None"
                    Skin="Black" AllowPaging="True" ShowFooter="true" ShowStatusBar="True">
                    <GroupingSettings  GroupContinuesFormatString=" "  GroupByFieldsSeparator = "  " />
                    
                    <FooterStyle BackColor="White" ForeColor="Red" BorderWidth="2px" BorderColor="ActiveCaption"
                        BorderStyle"Groove" />

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Rahul
Top achievements
Rank 1
Share this question
or