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

Show number of items in the footer of the grid when allowPaging is set to false

1 Answer 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Indranik
Top achievements
Rank 1
Indranik asked on 25 Nov 2008, 10:53 AM
How do i display the number of items in the footer of a grid when allowpaging of the grid is set to false

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 25 Nov 2008, 11:16 AM
Hello,

You can set the aggregate property to 'count' for columns and also set the ShowFootwer property for the RadGrid to true as shown below.
aspx:
 <telerik:RadGrid ID="RadGrid1" ShowFooter="true" DataSourceID="SqlDataSource1" AutoGenerateColumns="False" runat="server" > 
        <MasterTableView>         
        <Columns> 
         <telerik:GridBoundColumn Aggregate="Count" DataField="ProductName" HeaderText="ProductName" UniqueName="ProductName"></telerik:GridBoundColumn>   
         .... 


 For more information on the aggregate property refer to the following online demo link as well.
Footer aggregates

Thanks
Princy.
Tags
Grid
Asked by
Indranik
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or