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

Grid without paging but with numbers of rows

1 Answer 456 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Francis
Top achievements
Rank 1
Francis asked on 20 Jun 2014, 06:43 AM
Hi,

I need a grid without paging (all rows are shown) but with the number of rows displayed (like it is displayed in pager). Is it possible ? Is there a PagerStyle who display only the number of rows ?


Thank you !

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 20 Jun 2014, 09:49 AM
Hi Francis,

The pager item will be displayed when you have AllowPaging="true". One suggestion to acquire your scenario is you can use ShowFooter="true" and set a column Aggregate="Count" so as to display the total number of records at the end.

ASPX:
<telerik:RadGrid ID="RadGrid1" runat="server" ShowFooter="true". .>
  <MasterTableView>  
    <Columns>
      <telerik:GridBoundColumn UniqueName="OrderID" DataField="OrderID" HeaderText="OrderID" Aggregate="Count" >
      </telerik:GridBoundColumn>
            . . .
    </Columns>
  </MasterTableView>
</telerik:RadGrid>

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