﻿<?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 - getFooterCellByName not function in webgrid 7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/getFooterCellByName-not-function-in-webgrid-7/</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>getFooterCellByName not function in webgrid 7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/getFooterCellByName-not-function-in-webgrid-7/</link><pubDate>Thu, 07 Oct 2010 00:25:33 GMT</pubDate><dc:creator>xin8</dc:creator><category>webgrid 7</category><description>&lt;p&gt;Thanks Yudi, Handy and Ooi for the help.&lt;/p&gt;
&lt;p&gt;I have changed &lt;/p&gt;&lt;pre&gt;  var footerAmount1 = ISGetObject("WebGrid1").Tables["tableName"].GetFooterCellByName(htmlTable.rows.length - 1, "sel");
		     &lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 13px; font-family: lucida sans unicode; background-color: #ffffff"&gt;to &lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;pre&gt;  var footerAmount1 = ISGetObject("WebGrid1").GetRootTable().GetElement(WG40.COLFOOTER, WG40.HTMLTABLE).cells[4];
&lt;/pre&gt;
&lt;/pre&gt;
&lt;p&gt;and it works.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;xin8&lt;/p&gt;</description></item><item><title>getFooterCellByName not function in webgrid 7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/getFooterCellByName-not-function-in-webgrid-7/</link><pubDate>Wed, 06 Oct 2010 22:24:09 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>webgrid 7</category><description>&lt;p&gt;Hello Xin8,&lt;/p&gt;&lt;p&gt;Unfortunately, your sample does not help at all. As I said before, I need to know at least your WebGrid &lt;b&gt;structure&lt;/b&gt;. The element is created based on your WebGrid structure. So, I would need the structure and it should be also runable.&lt;br /&gt;Btw, haven't I said that the method in javascript is &lt;b&gt;&lt;i&gt;case-sensitive&lt;/i&gt;&lt;/b&gt;?&lt;br /&gt;There is no method, &lt;span style="font-family: 'courier new', tahoma; font-size: 12px; color: rgb(63, 63, 63); line-height: 18px; white-space: pre-wrap; "&gt;&lt;b&gt;&lt;i&gt;getFooterCellByName&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;i&gt; &lt;/i&gt;&lt;/b&gt;but it should be &lt;b&gt;&lt;i&gt;G&lt;/i&gt;&lt;/b&gt;&lt;span style="font-family: 'courier new', tahoma; font-size: 12px; color: rgb(63, 63, 63); line-height: 18px; white-space: pre-wrap; "&gt;&lt;b&gt;&lt;i&gt;etFooterCellByName&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;. &lt;br /&gt;Besides, that method is not existed in Tables, but it is only available in SubTables. &lt;br /&gt;Please refer into &lt;b&gt;&lt;i&gt;ms-help://ISNet.WebUI.WebGrid.V7/ISNet.WebUI.WebGrid/WebGridSubTables Reference.html&lt;/i&gt;&lt;/b&gt; in our WebGrid Documentation.&lt;br /&gt;&lt;br /&gt;FYI, there is also another way to obtain the footer element. I also attached my simple sample as references. In my sample, I update footer 3 which is calculated from footer1 and footer2.&lt;br /&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>getFooterCellByName not function in webgrid 7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/getFooterCellByName-not-function-in-webgrid-7/</link><pubDate>Wed, 06 Oct 2010 22:03:30 GMT</pubDate><dc:creator>ycooi</dc:creator><category>webgrid 7</category><description>&lt;p&gt;hi xin8,&lt;/p&gt;
&lt;p&gt;i found the solution for this,&lt;/p&gt;
&lt;p&gt;here some snippet code to share:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt; grid = ISGetObject(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #800000; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #800000; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #800000; font-size: 13px"&gt;"WebGrid1"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;); &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt; table = grid.GetRootTable(); &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt; htmlTable = table.GetElement(WG40.COLFOOTER, WG40.HTMLTABLE);&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt; fotter1= htmlTable.cells[1];&lt;/span&gt;&lt;/span&gt; &lt;p&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;hope it may help you.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;regards, &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;yc ooi &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;

&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>getFooterCellByName not function in webgrid 7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/getFooterCellByName-not-function-in-webgrid-7/</link><pubDate>Wed, 06 Oct 2010 16:49:22 GMT</pubDate><dc:creator>yudi</dc:creator><category>webgrid 7</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;May I know the purpose of using the GetFooterCellByName method on your page? Do you need to do something like re-calculate the sum of a column in RootTable when row is changed?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;If that so, please try to use the new client-side API shown in following snippet code to get the same result.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;var RootTable = grid.RootTable;
var FooterElement = RootTable.GetElement(WG40.COLFOOTER, WG40.HTML);
var FooterText = FooterElement.childNodes[1].childNodes[1].innerText;&lt;/pre&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>getFooterCellByName not function in webgrid 7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/getFooterCellByName-not-function-in-webgrid-7/</link><pubDate>Wed, 06 Oct 2010 03:03:46 GMT</pubDate><dc:creator>xin8</dc:creator><category>webgrid 7</category><description>&lt;p&gt;Hello Handy Surya,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;I have tried GetFooterCellByName but still didn't work.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I attached a sample for the snippet code.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;xin8&lt;/p&gt;</description></item><item><title>getFooterCellByName not function in webgrid 7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/getFooterCellByName-not-function-in-webgrid-7/</link><pubDate>Tue, 05 Oct 2010 22:43:40 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>webgrid 7</category><description>&lt;p&gt;Hello Xin8,&lt;/p&gt;&lt;p&gt;We do have that method, but it should be like that. You need to know that the method is case-sensitive.&lt;br /&gt;You should use GetFooterCellByName. However, I am not sure that the current table stucture has this methods. Would you mind to send me a simple runable sample that similiars with your current WebGrid structure?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>getFooterCellByName not function in webgrid 7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/getFooterCellByName-not-function-in-webgrid-7/</link><pubDate>Mon, 04 Oct 2010 23:50:39 GMT</pubDate><dc:creator>xin8</dc:creator><category>webgrid 7</category><description>&lt;pre&gt;   var grid = ISGetObject("WebGrid1");
                var table = grid.Tables[tblName];
                var htmlTable = table.GetElement(WG40.BODY, WG40.HTMLTABLE);
                var footerAmount1 = table.getFooterCellByName(htmlTable.rows.length - 1, "sel");&lt;/pre&gt;
&lt;p&gt;I get an error on line "getFooterCellByName", Object doesn't support this property or method.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Do you have any ideas ?&lt;/p&gt;
&lt;p&gt;Waiting for your kind reply.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;xin8&lt;/p&gt;
&lt;div class="attachment" id="ctl00_ctl00_ctl00_ctl00_a_b_c_e_att0" style="display: none"&gt;&lt;div class="attachmentcontent"&gt;
&lt;div&gt;&lt;span id="attSummary0" style="font-weight: bold" count="0"&gt;&lt;/span&gt; &lt;/div&gt;
&lt;div class="attachmentitemcontainer" id="attContent0" attachments=""&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description></item></channel></rss>