Posted 14 Jul 2011 Link to this post
Posted 15 Jul 2011 Link to this post
int
i;
protected
void
RadGrid1_ItemEvent(
object
sender, GridItemEventArgs e)
{
if
(e.EventInfo
is
GridInitializePagerItem)
i = (e.EventInfo
as
GridInitializePagerItem).PagingManager.DataSourceCount;
}
RadGrid1_PreRender(
sender, EventArgs e)
RadGrid1.StatusBarSettings.ReadyText = i.ToString() ;
RadGrid1.MasterTableView.Rebind();
Posted 18 Jul 2011 Link to this post
Posted 21 Jul 2011 Link to this post
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
Posted 29 Feb 2012 Link to this post
Posted 05 Mar 2012 Link to this post
Posted 12 Sep 2018 Link to this post
I got the status bar to show without paging information by doing the following:
.Pageable(page => page
.PreviousNext(false)
.Numeric(false)
Now I get the status bar with how many items I have without showing the paging information which I don't need because my grid is scrollable.
Posted 12 Sep 2018 in reply to Daniel Link to this post
I forgot one thing, in the .DataSource you need to set your PageSize to something you'll never reach since it seems to default to 10 items if you don't
.DataSource(dataSource => dataSource .Ajax() .ServerOperation(false) .PageSize(10000))