<?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: About jqGrid will only increase first row</title>
	<link>http://www.trirand.com/blog/?page_id=393/treegrid/about-jqgrid-will-only-increase-first-row</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/treegrid/about-jqgrid-will-only-increase-first-row/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>arthur1977 on About jqGrid will only increase first row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/about-jqgrid-will-only-increase-first-row#p29768</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/about-jqgrid-will-only-increase-first-row#p29768</guid>
        	        	<description><![CDATA[<p>Hello, I am working environment is ASP.NET MVC 4, View Engine is Razor,<br />jQuery version is 2.0.3<br />jqGrid package version is 4.4.4</p>
<p>jQuery and jqGrid are using Nuget installed VisualStudio 2010</p>
<p>There is a paragraph in the View Page add JavaScript in jqGrid</p>
<p>------------------------------------------------------------------------------------------------------------------------------</p>
<p>&#60;script type="text/javascript" language="javascript"&#62;</p>
<p>var jsonStr01 = $.parseJSON(&#39;[{ "UserId": "User 01 ", "UserPwd": "12345671 ","Did":"1234561"}]&#39;);</p>
<p>var jsonStr02 = $.parseJSON(&#39;[{ "UserId": "User 02 ", "UserPwd": "12345672 ","Did":"1234562"}]&#39;);</p>
</p>
<p>$("#MyJqGrid").jqGrid</p>
<p>({</p>
<p>datatype: &#39;json&#39;,</p>
<p>height: 250,</p>
<p>colNames: [&#39;User ID&#39;, &#39;User Pwd&#39;,&#39;OID&#39;],</p>
<p>colModel: [</p>
<p>{ name: &#39;UserId&#39;, index: &#39;Userid&#39;, width: 100 },</p>
<p>{ name: &#39;UserPwd&#39;, index: &#39;UserPwd&#39;, width: 100 },</p>
<p>{ name: &#39;Did&#39;, index: &#39;Did&#39;, width: 100 }</p>
<p>],</p>
<p>autowidth: true,</p>
<p>height: "100%",</p>
<p>gridview: true,</p>
<p>multiselect: true,</p>
<p>pager: &#39;#pager&#39;,</p>
<p>rowNum: 10,</p>
<p>rowList: [10,20,30,40],</p>
<p>sortname: &#39;UserId&#39;,</p>
<p>sortorder: "asc",</p>
<p>viewrecords: true,</p>
<p>caption: "Form Detail"</p>
<p>});</p>
</p>
<p>$("#MyJqGrid").jqGrid(&#39;addRowData&#39;,1, jsonStr01);</p>
<p>$("#MyJqGrid").jqGrid(&#39;addRowData&#39;,2, jsonStr02);</p>
<p>&#60;/Script&#62;</p>
<p>------------------------------------------------------------------------------------------------------------------------------</p>
<p>This is very strange MyJqGrid jqGrid displays only jsonStr01 this value rows.</p>
<p>No matter how many rows of data to increase addRowData, forever on the screen will only show the first time MyJqGrid increase row.</p>
<p>Anybody know how to solve this problem plugs do?</p>
<p>Thanks reply.</p>
]]></description>
        	        	<pubDate>Wed, 30 Oct 2013 07:07:14 +0200</pubDate>
        </item>
</channel>
</rss>