<?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: Grid Options rownumbers problem</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/grid-options-rownumbers-problem</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/grid-options-rownumbers-problem/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Grid Options rownumbers problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-options-rownumbers-problem#p23899</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-options-rownumbers-problem#p23899</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>It seems you use the jqGrid PHP commertial component.</p>
<p>Please post your problem here:</p>
<p><a href="http://www.trirand.net/forum/" rel="nofollow" target="_blank">http://www.trirand.net/forum/</a></p>
<p>Kind Regards</p>
]]></description>
        	        	<pubDate>Wed, 06 Jul 2011 15:51:06 +0300</pubDate>
        </item>
        <item>
        	<title>hugoleon46 on Grid Options rownumbers problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-options-rownumbers-problem#p23893</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-options-rownumbers-problem#p23893</guid>
        	        	<description><![CDATA[<p>I know maybe this is not a common problem. But I can&#39;t show the row numbers. Here is the code (almost the same that you have in your examples page):</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2119' value='Select Code' data-codeid='sfcode2119' /></p>
<div class='sfcode' id='sfcode2119'>$grid = new jqGridRender($conn);<br />// Write the SQL Query<br />$grid-&#62;SelectCommand = &#39;SELECT tblgrupos.txtNombre Grupo, tbleventos.txtEvento txtEvento, tbleventos.dateFechaEvento dateFechaEvento, tbleventos.intPuntos intPuntos <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;FROM tbleventos, tblgrupos<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;WHERE (tbleventos.boolVigente = 1)<br />&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;AND (tbleventos.tblgrupos_idGrupo = tblgrupos.idGrupo)&#39;;<br />// set the ouput format to json<br />$grid-&#62;dataType = &#39;json&#39;;<br />// Let the grid create the model from SQL query<br />$grid-&#62;setColModel();<br />// Set the url from where we obtain the data<br />$grid-&#62;setUrl(&#39;gridRanking.php&#39;);<br />// Set alternate background using altRows property<br />$grid-&#62;setGridOptions(array(<br />&#160;&#160; &#160;&#34;rownumbers&#34;=&#62;true,&#160;&#160; //Does not work<br />&#160;&#160;&#160; &#34;rownumWidth&#34;=&#62;35,&#160; <br />&#160;&#160; &#160;&#34;caption&#34;=&#62;&#34;Ranking&#34;,<br />&#160;&#160; &#160;&#34;autowidth&#34;=&#62;true,<br />&#160;&#160; &#160;&#34;hoverrows&#34;=&#62;true, <br />&#160;&#160;&#160; &#34;rowNum&#34;=&#62;30,<br />&#160;&#160;&#160; &#34;sortname&#34;=&#62;&#34;txtEvento&#34;,<br />&#160;&#160;&#160; &#34;rowList&#34;=&#62;array(10,20,50,100,500),<br />&#160;&#160;&#160; &#34;height&#34;=&#62;&#39;auto&#39;,<br />&#160;&#160;&#160; &#34;grouping&#34;=&#62;true,<br />&#160;&#160;&#160; &#34;expandOnLoad&#34;=&#62;true,<br />&#160;&#160;&#160; &#34;groupingView&#34;=&#62;array(<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;groupField&#34; =&#62; array(&#39;Grupo&#39;),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;groupColumnShow&#34; =&#62; array(true),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;groupText&#34; =&#62;array(&#39;&#60;b&#62;{0}&#60;/b&#62;&#39;),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;groupDataSorted&#34; =&#62; true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;groupSummary&#34; =&#62; array(true)<br />&#160;&#160;&#160; )<br />));</div>
<p>I&#39;ve been searching for a solution in this forum but I didn&#39;t found anything like this. I know this is a boolean value, but just doesn&#39;t work. Can you help me?</p>
<p>Thanks in advance.</p>
]]></description>
        	        	<pubDate>Wed, 06 Jul 2011 09:03:37 +0300</pubDate>
        </item>
</channel>
</rss>