<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Bug?...Grids with the same gridId - onCompleteTopics only gets called once...</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/bug-grids-with-the-same-gridid-oncompletetopics-only-gets-called-once</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/bug-grids-with-the-same-gridid-oncompletetopics-only-gets-called-once/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>mikesmith on Bug?...Grids with the same gridId - onCompleteTopics only gets called once...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/bug-grids-with-the-same-gridid-oncompletetopics-only-gets-called-once#p15717</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/bug-grids-with-the-same-gridid-oncompletetopics-only-gets-called-once#p15717</guid>
        	        	<description><![CDATA[<p>Just an update&#8230; I have figured out why my grids are not calling their respective onCompleteTopics.</p>
<p>Its because all my grids are subscribed to the same topic. This means the first grid works fine but when subsequent grids which call the same topic are executed, they are infact using the save values as the first topic. I dont quite understand the whole topic thing but if I change the grid to subscribe to another topic, it works fine!</p>
</p>
<p>if this is the case is this my only solution(i.e: to ensure that all grids call a unquie topic?)</p>
<p>what happens if I subscribe to lots of topics...do i have topics floating around in the client? is there a performance hit?</p>
</p>
<p>thanks again</p>
]]></description>
        	        	<pubDate>Mon, 15 Mar 2010 19:58:17 +0200</pubDate>
        </item>
        <item>
        	<title>mikesmith on Bug?...Grids with the same gridId - onCompleteTopics only gets called once...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/bug-grids-with-the-same-gridid-oncompletetopics-only-gets-called-once#p15708</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/bug-grids-with-the-same-gridid-oncompletetopics-only-gets-called-once#p15708</guid>
        	        	<description><![CDATA[<p>Hi fellow jqgrid users....</p>
</p>
<p>In my application I have many jsps each holding a grid. These grids are in the different jsp pages &#38; all have the same gridId but have different columns and store different data.</p>
<p>I give the grids the same id because I am using a generic javascript function which all these pages access and call to update the grid. (add an image to a specific column depending on data returned from the server).&#160; The same gridId implies less work for me.</p>
</p>
<p>All my grids subscribe to the onCompleteTopics which will invoke a javascript function passing in the columnId to be updated after the grid is complete.</p>
<p>The problem I have noticed is that onCompleteTopics only gets called once! Even if I access a brand new jsp page, holding a brand new grid but if it has the same gridId(as a previous grid even on another jsp), onCompleteTopics does not get called again. This problem causes my grid not update properly. Infact the wrong column gets updated!</p>
<p>Is This a Bug in jqgrid or a bug in my strut2 plugin or should I be doing something different? How can I ensure that whenever I go to a new jsp, when loading the grid, that onCompleteTopics will be called regardless?</p>
<p>I am sure if I rename all the gridIds in my entire application to unquie names, then this will work. But this will hinder me greatly &#38; cause me a lot of trouble!</p>
<p>Help is greatly appreicated..</p>
]]></description>
        	        	<pubDate>Mon, 15 Mar 2010 18:00:29 +0200</pubDate>
        </item>
</channel>
</rss>