<?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: Master Detail Grid + Search Function Not Working</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/master-detail-grid-search-function-not-working</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/master-detail-grid-search-function-not-working/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>follower on Master Detail Grid + Search Function Not Working</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/master-detail-grid-search-function-not-working#p4003</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/master-detail-grid-search-function-not-working#p4003</guid>
        	        	<description><![CDATA[<p>after few hours line by line tracing, finally found the solution to this.</p>
<p>Basically few lines of code need to change in order for it to work</p>
<p>In master grid php page,</p>
<p>//version 1 not working<br />//$start = $limit*$page - $limit;</p>
<p>//version 2 works in any cases<br />if ($limit&#60;0) $limit = 0;<br />$start = $limit*$page - $limit;<br />if ($start&#60;0) $start = 0;</p></p>
]]></description>
        	        	<pubDate>Fri, 16 Jan 2009 07:36:19 +0200</pubDate>
        </item>
        <item>
        	<title>follower on Master Detail Grid + Search Function Not Working</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/master-detail-grid-search-function-not-working#p3984</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/master-detail-grid-search-function-not-working#p3984</guid>
        	        	<description><![CDATA[<p>By following the tutorial on master detail grid, I able to make it run perfectly.</p>
<p>However, when I want to combine this existing master detail with the text box +search button function, it is not working. No error is shown. In this case, how to debug?</p>
<p>Codes I add in to the existing master detail &#39;s html page:</p>
<p>var timeoutHnd; <br />var flAuto = false; </p>
<p>function doSearch(ev){...}<br />function gridReload(){...}<br />function enableAutosubmit(state){...}</p>
<p>var nm_mask = jQuery("#item_nm").val();</p>
<p>var cd_mask = jQuery("#search_cd").val();<br />alert(nm_mask); alert(cd_mask);</p>
<p>Whenever I click search button, red bar will load, the grid will refresh, but data not changing at all.</p>
<p>When I debug the js code, it shows the value as expected.</p>
<p>If I add in this line, then both the master and detail grid will be blank--&#62; mtype: "POST",</p>
<p>I&#39;m not sure which part is facing problem.<br />How to debug?<br />when I click on the search button in html page, it will call the master grid php page, pass in parameter.<br />I have no idea what is whole data that passed in, and returned from php page.</p>
<p>If I directly open up master grid php page, then I have no way to trace what is missing on the road. I have to open up the html page to call to the master grid php page...</p>
<p>Tony, any way to trace? Any idea on what&#39;s missing?</p>
]]></description>
        	        	<pubDate>Thu, 15 Jan 2009 07:28:04 +0200</pubDate>
        </item>
</channel>
</rss>