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

Total count in outlook grid

1 Answer 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Prabhu
Top achievements
Rank 2
Prabhu asked on 10 Mar 2009, 11:30 AM
 Hi,

           I'm using RAD Outlook grid in my sample application. I would like to show total number of records under each category for example, Received : Prabhu (4)
            
Which means, I received 4 mails from Prabhu. Is it possible in Telerik outlook grid??? If so how???

Thanks in Advance,
Prabhu

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 10 Mar 2009, 11:46 AM
Hi Prabhu,

You can try the following code snippet to get the count of rows in each Group.

CS:
 foreach (GridGroupHeaderItem GroupHeader in RadGrid1.MasterTableView.GetItems(GridItemType.GroupHeader)) 
        { 
            GridItem[] children = GroupHeader.GetChildItems(); 
            string strCount = children.Length.ToString(); 
        } 

You can also go through the following help article which explains how to perform calculations in GridGroupHeader.
Performing calculations in group header

Thanks
Shinu
Tags
Grid
Asked by
Prabhu
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Share this question
or