﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Show the total rows on the grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Show-the-total-rows-on-the-grid/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Show the total rows on the grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Show-the-total-rows-on-the-grid/</link><pubDate>Tue, 15 Dec 2009 01:31:12 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;I have just been informed by the developer that this feature has already been supported. You will need to set ColumnFooterAggegrateMode to CalculateAllData to calculate all the row using aggegrate count function.&lt;/p&gt;&lt;p&gt;Here is the snippet:&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="316px" UseDefaultStyle="True"&lt;br /&gt;    Width="644px" DefaultStyleMode="Elegant" OnInitializeDataSource="WebGrid1_InitializeDataSource" DataSourceID="AccessDataSource1"&amp;gt;&lt;br /&gt;    &amp;lt;LayoutSettings AllowEdit="Yes" PagingMode="ClassicPaging" PagingStyleUI="Slider" PagingSliderWidth="120" &lt;br /&gt;        AllowColumnFreezing="Yes" AllowColumnMove="Yes" AllowFilter="Yes" AllowGrouping="Yes" AllowSorting="Yes" &lt;br /&gt;        PagingDetectPartialGroupRows="True" ColumnFooters="Yes" &lt;span style="color: rgb(255, 0, 0);"&gt;ColumnFooterAggregateMode="CalculateAllData"&lt;/span&gt;&amp;gt;&lt;br /&gt;        &amp;lt;FreezePaneSettings ActiveFrozenColumns="2" /&amp;gt;&lt;br /&gt;    &amp;lt;/LayoutSettings&amp;gt;&lt;br /&gt;    &amp;lt;RootTable DataKeyField="OrderID"&amp;gt;&lt;br /&gt;        &amp;lt;Columns&amp;gt;&lt;br /&gt;            &amp;lt;ISWebGrid:WebGridColumn Caption="OrderID" DataMember="OrderID" DataType="System.Int32"&lt;br /&gt;                Name="OrderID" Width="100px" &lt;span style="color: rgb(255, 0, 0);"&gt;AggregateFunction="Count" FooterText="Total: "&lt;/span&gt;&amp;gt;&lt;br /&gt;            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;br /&gt;            &amp;lt;ISWebGrid:WebGridColumn Caption="CustomerID" DataMember="CustomerID" Name="CustomerID"&lt;br /&gt;                Width="100px"&amp;gt;&lt;br /&gt;            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;br /&gt;            &amp;lt;ISWebGrid:WebGridColumn Caption="EmployeeID" DataMember="EmployeeID" DataType="System.Int32"&lt;br /&gt;                Name="EmployeeID" Width="100px"&amp;gt;&lt;br /&gt;            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;br /&gt;            &amp;lt;ISWebGrid:WebGridColumn Caption="OrderDate" DataMember="OrderDate" DataType="System.DateTime"&lt;br /&gt;                Name="OrderDate" Width="100px"&amp;gt;&lt;br /&gt;            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;br /&gt;            &amp;lt;ISWebGrid:WebGridColumn Caption="RequiredDate" DataMember="RequiredDate" DataType="System.DateTime"&lt;br /&gt;                Name="RequiredDate" Width="100px"&amp;gt;&lt;br /&gt;            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;br /&gt;            &amp;lt;ISWebGrid:WebGridColumn Caption="ShippedDate" DataMember="ShippedDate" DataType="System.DateTime"&lt;br /&gt;                Name="ShippedDate" Width="100px"&amp;gt;&lt;br /&gt;            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;br /&gt;            &amp;lt;ISWebGrid:WebGridColumn Caption="ShipVia" DataMember="ShipVia" DataType="System.Int32"&lt;br /&gt;                Name="ShipVia" Width="100px"&amp;gt;&lt;br /&gt;            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;br /&gt;            &amp;lt;ISWebGrid:WebGridColumn Caption="Freight" DataMember="Freight" DataType="System.Decimal"&lt;br /&gt;                Name="Freight" Width="100px"&amp;gt;&lt;br /&gt;            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;br /&gt;            &amp;lt;ISWebGrid:WebGridColumn Caption="ShipName" DataMember="ShipName" Name="ShipName"&lt;br /&gt;                Width="100px"&amp;gt;&lt;br /&gt;            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;br /&gt;            &amp;lt;ISWebGrid:WebGridColumn Caption="ShipAddress" DataMember="ShipAddress" Name="ShipAddress"&lt;br /&gt;                Width="100px"&amp;gt;&lt;br /&gt;            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;br /&gt;            &amp;lt;ISWebGrid:WebGridColumn Caption="ShipCity" DataMember="ShipCity" Name="ShipCity"&lt;br /&gt;                Width="100px"&amp;gt;&lt;br /&gt;            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;br /&gt;            &amp;lt;ISWebGrid:WebGridColumn Caption="ShipRegion" DataMember="ShipRegion" Name="ShipRegion"&lt;br /&gt;                Width="100px"&amp;gt;&lt;br /&gt;            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;br /&gt;            &amp;lt;ISWebGrid:WebGridColumn Caption="ShipPostalCode" DataMember="ShipPostalCode" Name="ShipPostalCode"&lt;br /&gt;                Width="100px"&amp;gt;&lt;br /&gt;            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;br /&gt;            &amp;lt;ISWebGrid:WebGridColumn Caption="ShipCountry" DataMember="ShipCountry" Name="ShipCountry"&lt;br /&gt;                Width="100px"&amp;gt;&lt;br /&gt;            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;br /&gt;        &amp;lt;/Columns&amp;gt;&lt;br /&gt;    &amp;lt;/RootTable&amp;gt;&lt;br /&gt;&amp;lt;/ISWebGrid:WebGrid&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Show the total rows on the grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Show-the-total-rows-on-the-grid/</link><pubDate>Mon, 14 Dec 2009 15:44:53 GMT</pubDate><dc:creator>tlusby</dc:creator><description>&lt;p&gt;Do you think this will be supported soon?  I would hate re-query the data to get the total number of rows regardless if I'm paging or not.  This is something our users use quite frequently.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Show the total rows on the grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Show-the-total-rows-on-the-grid/</link><pubDate>Thu, 10 Dec 2009 23:37:52 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;This feature is not supported yet in WebGrid. However using column footer and custom aggegrate function, you could show the total row of the table in the column footer. We have already provide an article titled "Walkthrough: Using Custom Aggregate function in WebGrid" in the WebGrid docs. In order to retrieve the total row in the table you will need to re-query the data since the WebGrid does not supply this information.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Show the total rows on the grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Show-the-total-rows-on-the-grid/</link><pubDate>Thu, 10 Dec 2009 17:24:03 GMT</pubDate><dc:creator>tlusby</dc:creator><description>&lt;p&gt;Is there a away to show the total number of rows on the grid with paging.  For example  I have the following set in the LayoutSettings attribute:&lt;/p&gt;&lt;pre&gt;PagingMode="ClassicPaging" PagingSize="500"&lt;/pre&gt;

&lt;p&gt;The scenario I have is: I have 1376 rows total.  However what's showing at the bottom is Page 1 of 3.  This is valid but I would also like to see 1 of 3 for a total of 1376 OR some where on the footer the ability to see the total rows of the criteria.  Is this possible?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>