<?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: Problem with the Navigation Layer and apearing undefined label inside Body Layer</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-the-navigation-layer-and-apearing-undefined-label-inside-body-layer</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/problem-with-the-navigation-layer-and-apearing-undefined-label-inside-body-layer/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>_trebor_ on Problem with the Navigation Layer and apearing undefined label inside Body Layer</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-the-navigation-layer-and-apearing-undefined-label-inside-body-layer#p18029</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-the-navigation-layer-and-apearing-undefined-label-inside-body-layer#p18029</guid>
        	        	<description><![CDATA[<p>Hola,</p>
</p>
<p>me parece que te hace falta agregar esto:</p>
</p>
<p>jQuery("#list1").jqGrid(<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#39;navGrid&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#39;#paginador&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{add:false, edit:false,del:false});</p>
</p>
<p>Espero y te sirva.</p>
</p>
<p>Saludos.</p>
</p>
<p>P.D. me dices si te aparecen habilitados los botones para cambiar de p&#225;gina. (los mios est&#225;n deshabilitados, ando buscando como habilitarlos)</p>
]]></description>
        	        	<pubDate>Sun, 20 Jun 2010 02:21:19 +0300</pubDate>
        </item>
        <item>
        	<title>ikim on Problem with the Navigation Layer and apearing undefined label inside Body Layer</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-the-navigation-layer-and-apearing-undefined-label-inside-body-layer#p18027</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-the-navigation-layer-and-apearing-undefined-label-inside-body-layer#p18027</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>Im a newbie. Following the documentation I tried to use jQuery Grid without connecting to the DB. I send the data using JSON and It seems to be ok at the Body Layer except that at the middle apears a label with an undefined text inside it and the Navigation Layer doesn&#39;t seems to work. My servlet code is:</p>
<p>&#160;protected void processRequest(HttpServletRequest request, HttpServletResponse response)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; throws ServletException, IOException {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; response.setContentType("application/json;charset=UTF-8");<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; PrintWriter out = response.getWriter();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; try {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; out.print("{"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + ""total": "2",\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + ""page": "1",\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + ""records": "12",\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + ""datos" : [\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "{"id" : "1", "cell" : ["1", "Josefina Villegas", "27"]},\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "{"id" : "2", "cell" : ["2", "Mario Miki", "30"]},\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "{"id" : "3", "cell" : ["3", "Eloisa Avila", "28"]},\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "{"id" : "4", "cell" : ["4", "Erandi Urban", "26"]},\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "{"id" : "5", "cell" : ["5", "Ivan Ortega", "26"]},\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "{"id" : "6", "cell" : ["6", "Rodrigo Avila", "30"]},\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "{"id" : "7", "cell" : ["7", "Carlos Miki", "28"]},\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "{"id" : "8", "cell" : ["8", "Roberto Miki", "30"]},\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "{"id" : "9", "cell" : ["9", "Rogelio Navarrete", "28"]},\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "{"id" : "10", "cell" : ["10", "Sergio Prado", "26"]},\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "{"id" : "11", "cell" : ["11", "Cristina Amparan", "26"]},\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "{"id" : "12", "cell" : ["12", "Norma Barreiro", "30"]},\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "]\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "}");<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; } finally {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; out.close();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160; }</p>
<p>The idea is to use the Navigator Layer to see the last two "rows", but the navigation layer doesn&#39;t appear. My js code is this:</p>
<p>&#160;&#60;script type="text/javascript"&#62; jQuery(document).ready(function(){<br />&#160;&#160;&#160; jQuery("#list").jqGrid({ url:&#39;respuestaJSON&#39;, datatype: &#39;json&#39;, mtype: &#39;GET&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; jsonReader : {root:"datos",page: "page",total: "total",records: "records"},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames:[&#39;id&#39;,&#39;Nombre&#39;, &#39;Edad&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel :[ {name:&#39;id&#39;, index:&#39;id&#39;, width:55},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;Nombre&#39;, index:&#39;Nombre&#39;, width:150, align:&#39;right&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;Edad&#39;, index:&#39;Edad&#39;, width:80, align:&#39;right&#39;}],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: jQuery(&#39;#paginador&#39;), rowNum:15, rowList:[10,20,30],sortname: &#39;id&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: "desc", <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: &#39;Primer prueba&#39;<br />&#160;&#160;&#160; });<br />});<br />&#60;/script&#62;</p>
<p>Any advice is welcome. Thanks in advance.</p>
]]></description>
        	        	<pubDate>Sat, 19 Jun 2010 04:56:48 +0300</pubDate>
        </item>
</channel>
</rss>