﻿<?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 - Aggregation value formatting</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Aggregation-value-formatting/</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>Aggregation value formatting</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Aggregation-value-formatting/</link><pubDate>Thu, 24 Jun 2010 18:04:27 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I have submitted this specific scenario as feature request to WebGrid development team.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;A task, task #746, has been submitted to the team regarding this feature. The team will check the feasibility to implement this feature in the next upcoming build of WebGrid 7.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Defining CustomAggregate will not helps as long as the aggregate result is placed in the column footer of WebGrid. the other option is to show the aggregate result in group header where you can define the format string of your aggregate result.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Aggregation value formatting</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Aggregation-value-formatting/</link><pubDate>Thu, 27 May 2010 12:14:17 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;I’ve forwarded this question to WebGrid development team to be investigated further.&lt;br /&gt;I’ll keep you updated with any news I heard from the team regarding this matter.
&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Aggregation value formatting</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Aggregation-value-formatting/</link><pubDate>Thu, 27 May 2010 08:28:45 GMT</pubDate><dc:creator>dasha.fedorova@gmail.com</dc:creator><description>&lt;p&gt;Hmmm, that's a real shame (&lt;/p&gt;
&lt;p&gt;Do you think I can do something through defining a CustomAggreagate?  Would I be able to format the value that way?&lt;/p&gt;</description></item><item><title>Aggregation value formatting</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Aggregation-value-formatting/</link><pubDate>Tue, 25 May 2010 13:36:53 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;In the current build of WebGrid 7, the aggregate value will apply the format that specified in ‘&lt;i style="mso-bidi-font-style: normal"&gt;DataFormatString&lt;/i&gt;’ property. So the aggregate value will have the same format as the data column.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;A workaround that you may try is by manually accessing the element of the column footer and obtain the number shown in the column footer. Next, you can utilize the &lt;strong&gt;toFixed(n)&lt;/strong&gt; method of javascript to format the number to use a specified number of trailing decimals defined by the n variable.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Aggregation value formatting</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Aggregation-value-formatting/</link><pubDate>Tue, 25 May 2010 10:53:34 GMT</pubDate><dc:creator>dasha.fedorova@gmail.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Trying to figure out if there's a way to set a format string for the aggregation value.  Suppose the data column has 4 decimal places, and I'm applying Average aggregation to the column.  Can i set the average's decimal places to 2?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Dasha.&lt;/p&gt;</description></item></channel></rss>