<?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: configuration of the plug in</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/configuration-of-the-plug-in</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/configuration-of-the-plug-in/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on configuration of the plug in</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/configuration-of-the-plug-in#p2504</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/configuration-of-the-plug-in#p2504</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>It is difficult for me to tell you what is the problem.</p>
<p>Could you please send me a link to the problem.</p>
<p>You can write me to tony at trirand dot com</p>
<p>Ragrads</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 13 Oct 2008 07:28:27 +0300</pubDate>
        </item>
        <item>
        	<title>Andre on configuration of the plug in</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/configuration-of-the-plug-in#p2499</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/configuration-of-the-plug-in#p2499</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The problem about navigation is resolved.</p>
<p>For the second problem, I tried your advice but nothing happens. White screen.</p>
<p>I rebuilt the "jqGrid" with the minimum properties:</p>
<p>jQuery("#list").jqGrid({<br />&#160;&#160;&#160; url:&#39;index.cfm?event=MRL_Data&#39;,<br />&#160;&#160;&#160; datatype: &#39;json&#39;,<br />&#160;&#160;&#160; colNames:[&#39;Code&#39;,&#39;Commodity&#39;, &#39;MRL&#39;], <br />&#160;&#160;&#160; colModel :[ {name:&#39;COMMODITIES_CODE&#39;, index:&#39;COMMODITIES_CODE asc&#39;, width:50, align:&#39;center&#39;, sortable:true},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;NOM&#39;, index:&#39;NOM&#39;, width:300, align:&#39;left&#39;, sortable:false},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;SUB_10&#39;, index:&#39;SUB_10&#39;, width:50, align:&#39;center&#39;, sortable:false, editable:true, edittype:&#39;text&#39;}],<br />&#160;&#160;&#160; pager: jQuery("#pager"),<br />&#160;&#160;&#160; imgpath: &#39;../resources/js/themes/basic/images&#39;<br />}).navGrid(&#39;#pager&#39;, {edit: true, add: false, del: false,search: true});</p>
<p>the problem is different following the browser (Internet explorer or Firefox)</p>
<p><span style="text-decoration: underline;">Internet Explorer</span>:</p>
<p><a href="http://img402.imageshack.us/img402/3415/probleme1kn4.jpg"><img src="http://img402.imageshack.us/img402/3415/probleme1kn4.jpg" width="100"  class="sfimageleft spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
<p>The navigation button doesn&#39;t appear and see the error message above.</p>
<p>But the "edit", "add", etc. appear and function well.</p>
<p><span style="text-decoration: underline;">Firefox</span>:</p>
<p>No error, but the left navigation arrow appear OVER the "edit" button.</p>
<p>The right navigation arrow doesn&#39;t appear.</p>
<p><a href="http://img370.imageshack.us/img370/1525/probleme2rt1.jpg"><img src="http://img370.imageshack.us/img370/1525/probleme2rt1.jpg" width="100"  class="sfimageleft spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
<p>Thank you for your support</p>
<p>Best regards</p>
<p>Andre</p>
]]></description>
        	        	<pubDate>Mon, 13 Oct 2008 02:58:19 +0300</pubDate>
        </item>
        <item>
        	<title>tony on configuration of the plug in</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/configuration-of-the-plug-in#p2470</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/configuration-of-the-plug-in#p2470</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>jqGrid does not support client side pagnagion. The primary purpose</p>
<p>for the grid is server side oriented. If you look into the examples I do</p>
<p>not think that it is complex.</p>
<p>For the second issue, could you please try without using navGrid&#160; first&#160;</p>
<p>and see the result.</p>
<p>If all is ok - try with position left in navGrid.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 10 Oct 2008 09:48:49 +0300</pubDate>
        </item>
        <item>
        	<title>Andre on configuration of the plug in</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/configuration-of-the-plug-in#p2469</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/configuration-of-the-plug-in#p2469</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>For beginning, I would like to thanks for your reaction.</p>
<p>I have controled the code and for the first issue:</p>
<p>I use the class "scroll" for the two (grid &#38; navigation bar)</p>
<p>&#60;table style="background-color:#CCCCCC "&#62;<br />&#160;&#160;&#160; &#60;tr&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#60;td&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#60;table id="list" class="scroll"&#62;&#60;/table&#62; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#60;div id="pager" class="scroll" style="text-align:center;"&#62;&#60;/div&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#60;/td&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#60;td&#62;&#60;/td&#62;<br />&#160;&#160;&#160; &#60;/tr&#62;<br />&#60;/table&#62;</p>
<p>for the second issue: I don&#39;t understand!</p>
<p>If I understand your reaction:</p>
<p>If I configure the jqGrid to display 10 records, I must extract only 10 records from the Query???</p>
<p>The first 10 records if it is the first page,<br />from 11 to 20 for the second, etc.</p>
<p>It is very complex to manage that</p>
<p>Best regards</p>
<p>Andre</p></p>
]]></description>
        	        	<pubDate>Fri, 10 Oct 2008 09:16:24 +0300</pubDate>
        </item>
        <item>
        	<title>tony on configuration of the plug in</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/configuration-of-the-plug-in#p2467</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/configuration-of-the-plug-in#p2467</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>For the second issue - it seems that your pager does not have class scroll.</p>
<p>For the first one - jqGrid displays the whole data returned from the server.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 10 Oct 2008 08:22:33 +0300</pubDate>
        </item>
        <item>
        	<title>Andre on configuration of the plug in</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/configuration-of-the-plug-in#p2465</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/configuration-of-the-plug-in#p2465</guid>
        	        	<description><![CDATA[<p>Hello everybody,</p>
<p>I&#39;m new with this plug in and I try to use it. But, I have 2 problems:</p>
<p>1&#176; When I try to display the result of the JSON querie, whole result is displayed in once and not by pagination. I work in ColdFusion; I create a JSON file (see the example). I show the file of configuration of the "jqGrid."&#160;</p>
<p>JSON file:</p>
<p>{ totalpages:&#39;10&#39;,  							 currpage:&#39;1&#39;,  							 totalrecords:&#39;378&#39;, 							 rows : [{id:&#39;1&#39;,cell:[&#39;0100000&#39;,&#39;1. FRUIT FRESH OR FROZEN; NUTS&#39;,&#39;0&#39;]}, ... }</p>
<p>&#60;script type="text/javascript"&#62; <br />&#160;&#160;&#160; jQuery(document).ready(function(){ <br />&#160;&#160;&#160; &#160;&#160;&#160; jQuery("#list").jqGrid({<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; url:&#39;index.cfm?event=MRL_Data&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; datatype: &#39;json&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; mtype: "GET",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colNames:[&#39;Code&#39;,&#39;Commodity&#39;, &#39;MRL&#39;], <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colModel :[ {name:&#39;COMMODITIES_CODE&#39;, index:&#39;COMMODITIES_CODE asc&#39;, width:50, align:&#39;center&#39;, sortable:true, sorttype:&#39;string&#39;},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;NOM&#39;, index:&#39;NOM&#39;, width:300, align:&#39;left&#39;, sortable:false, sorttype:&#39;string&#39;},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;SUB_10&#39;, index:&#39;SUB_10&#39;, width:50, align:&#39;center&#39;, sortable:false, editable:true, sorttype:&#39;string&#39;}],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; toolbar: [true, "top"],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; width: 500,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; height:450,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; pager: jQuery("#pager"),<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; recordtext: &#39;nombre de produits:&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; pgbuttons: true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; rowNum:40,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; rowList:[40,60,100],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; imgpath: &#39;../resources/js/themes/coffee/images&#39;, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; caption: &#39;MRL management&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; onSelectRow: function(id){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if(id &#38;&#38; id!==lastsel){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; //jQuery(&#8217;#rowed3&#8242;).restoreRow(lastsel);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery("#list").saveRow(id);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery("#list").editRow(id,true);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; lastsel=id;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; }).navGrid(&#39;#pager&#39;, {edit: true, add: false, del: false,search: true,position:"right"});<br />&#160;&#160;&#160; });<br />&#60;/script&#62;</p>
<p>2&#176; When the result is displayed, look the navigation bar. There are 3 problems:&#160; <br />- On the left, the navigation buttons&#160; are over the buttons of edition <br />- On the right, the buttons of navigations don&#39;t appear.&#160; <br />- Besides the n&#176; of page and another information don&#39;t appear.</p>
<p>As if the problem was in the CSS level.&#160; <br />look the print screen&#160; below of this topic<br />&#160; <br />Would someone be able to help me?&#160; <br />Thank you for advance.</p>
<p>Best regards</p>
<p>Andre</p>
<p><a href="http://img357.imageshack.us/img357/9043/problemerv8.jpg"><img src="http://img357.imageshack.us/img357/9043/problemerv8.jpg" width="100"  class="sfimageleft spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
]]></description>
        	        	<pubDate>Fri, 10 Oct 2008 08:05:04 +0300</pubDate>
        </item>
</channel>
</rss>