<?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: getRowData only geting visible rows, does not work with paging</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging</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/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>giorgio79 on getRowData only geting visible rows, does not work with paging</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21724</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21724</guid>
        	        	<description><![CDATA[<p>Thanks Tony.</p>
<p>The grid has a unique HTML id "#list".</p>
<p>However, I noticed the grid rows have a column called "id" as well that have repeating numbers!</p>
<p>These need to be unique as well for "data" param to work</p>
<p>I was under the impression rowids are internal unless I set a "key" column as per the docs?&#160;</p>
<p>So it seems there is a bug, namely that "id" column name should not be used.</p>
</p>
<p>Giving id rows inside the array unique values DID solve the problem.</p>
<p>Thanks</p>
</p>
<p>PS</p>
<p>It seems like this is a bug, and others stumbled on it as well:</p>
<p><a href="http://stackoverflow.com/questions/3796274/jqgrid-rowid-naming-conflict-during-save" rel="nofollow" target="_blank"><a href="http://stackoverflow.com/quest" rel="nofollow">http://stackoverflow.com/quest</a>.....uring-save</a></p>
]]></description>
        	        	<pubDate>Sun, 16 Jan 2011 20:22:40 +0200</pubDate>
        </item>
        <item>
        	<title>tony on getRowData only geting visible rows, does not work with paging</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21722</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21722</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>It seems you do not read the docs and post in this forum.</p>
</p>
<p>THE GRID SHOULD HAVE UNIQUIE ID.</p>
</p>
<p>Topic closed for me.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 16 Jan 2011 19:55:25 +0200</pubDate>
        </item>
        <item>
        	<title>giorgio79 on getRowData only geting visible rows, does not work with paging</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21719</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21719</guid>
        	        	<description><![CDATA[<p>Here is a live url for testing ( I am using Firefox 3.6):</p>
<p><a rel="nofollow" href="http://s53452.gridserver.com/jqgrid/index_test.html" target="_blank"></a><a href="http://s53452.gridserver.com/j" rel="nofollow" target="_blank">http://s53452.gridserver.com/j</a>....._test.html</p>
<p>The "Change value" under the grid does an alert for grid_data and it is unchanged <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_sad.gif" alt=":(" /></p>
<p>and here is the video</p>
<p>(The conversation topic did change from getRowData, but it seems the topic is locked <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" /> )</p>
<p>
<object width="425" height="350" data="http://www.youtube.com/v/tMHpsH8-LLE" type="application/x-shockwave-flash"><param name="src" value="http://www.youtube.com/v/tMHpsH8-LLE" /></object></p>
]]></description>
        	        	<pubDate>Sun, 16 Jan 2011 17:18:55 +0200</pubDate>
        </item>
        <item>
        	<title>giorgio79 on getRowData only geting visible rows, does not work with paging</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21718</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21718</guid>
        	        	<description><![CDATA[<p>Guys, first and foremost thanks for your patience.</p>
<p>Oleg: I would LOVE to be wrong 🙂</p>
</p>
<p>Tony: In the same example that I posted, just replace the scc button call with this to get grid_data edit some value, although I do change a cell programmatically. But it has no effect. Just recording a video, so you can see.</p>
<blockquote>
<p>&#160;&#160; &#160;&#160;&#160;&#160; jQuery("#scc").click( function() { <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;$("#list").setRowData(1,{first_name:"HUHAHUA"});</p>
<p>&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var rowdataString = JSON.stringify(grid_data);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;alert(rowdataString);</p>
<p>&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}); &#160;&#160;&#160;</p>
</blockquote>
]]></description>
        	        	<pubDate>Sun, 16 Jan 2011 17:00:33 +0200</pubDate>
        </item>
        <item>
        	<title>tony on getRowData only geting visible rows, does not work with paging</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21717</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21717</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Then your question should be quite diffrent. Right?</p>
<p>This is not true. Tell me how you try to do it?</p>
<p>SetCell method and setRowData used in celEdit and inline edit affect correctly the array data.</p>
<p>Please check your code again</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 16 Jan 2011 16:52:21 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on getRowData only geting visible rows, does not work with paging</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21716</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21716</guid>
        	        	<description><![CDATA[<p>You are wrong Giorgio!</p>
<p>The object accessible under the <strong>data</strong> parameter contain current local data saved in the jqGrid inclusive all modification of local data which are already saved.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Sun, 16 Jan 2011 16:49:49 +0200</pubDate>
        </item>
        <item>
        	<title>giorgio79 on getRowData only geting visible rows, does not work with paging</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21714</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21714</guid>
        	        	<description><![CDATA[<p>Thanks Tony, I tried but grid_data contains the startup values, but it does not contain any changes made to it via editing in the grid.</p>
]]></description>
        	        	<pubDate>Sun, 16 Jan 2011 16:42:25 +0200</pubDate>
        </item>
        <item>
        	<title>tony on getRowData only geting visible rows, does not work with paging</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21713</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21713</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Please do not post similar questions several times.</p>
<p>Thank you</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 16 Jan 2011 16:35:57 +0200</pubDate>
        </item>
        <item>
        	<title>tony on getRowData only geting visible rows, does not work with paging</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21712</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21712</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You can do it reading carefully the docs.</p>
<p>You already have a</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9019' value='Select Code' data-codeid='sfcode9019' /></p>
<div class='sfcode' id='sfcode9019'>
<p>&#8230;</p>
<p>&#160;data: grid_data,</p>
<p>&#8230;</p>
</div>
<p>grid_data is array which elements can be accesed easy.</p>
<p>Just for the record</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9606' value='Select Code' data-codeid='sfcode9606' /></p>
<div class='sfcode' id='sfcode9606'>
<p>var mysearchelement;</p>
<p>$.each(grid_data, function(){</p>
<p>if(this.id==&#34;the_id_that_i_want_to_serch){</p>
<p>mysearchelement = this;</p>
<p>return false;</p>
<p>}</p>
<p>})</p>
</div>
<p>Regards</p>
<p>Tony</p></p>
]]></description>
        	        	<pubDate>Sun, 16 Jan 2011 16:34:23 +0200</pubDate>
        </item>
        <item>
        	<title>giorgio79 on getRowData only geting visible rows, does not work with paging</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21711</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/getrowdata-only-geting-visible-rows-does-not-work-with-paging#p21711</guid>
        	        	<description><![CDATA[<p>Ouch, just found out getRowData only returning visible rows. (Using javascript array as source)</p>
<p>(<em>Just like setCell can only set visible rows, that I recently found:<br /></em></p>
<p><em><a rel="nofollow" href="/blog/?page_id=393/bugs/setcell-only-works-for-visible-rows-in-grid-eg-if-cell-is-on-another-page-it-fails/" target="_blank"></a><a href="http://www.trirand.com/blog/?p" rel="nofollow" target="_blank">http://www.trirand.com/blog/?p</a>.....-it-fails/</em>)</p>
<p>Is this a bug introduced recently? Perhaps I will try an earlier version? If this is not a bug, how can I get all rows??? If I cannot, I guess jqGrid is useless for me.</p>
<blockquote>
<p>&#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&#62;<br />&#60;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&#62;<br />&#60;head&#62;<br />&#60;meta http-equiv="Content-Type" content="text/html; charset=utf-8&#8243; /&#62;<br />&#60;title&#62;My First Grid&#60;/title&#62;<br />&#160;<br />&#60;link rel="stylesheet" type="text/css" media="screen" href="../../js/themes/custom-theme/jquery-ui-1.7.3.custom.css" /&#62;<br />&#60;link rel="stylesheet" type="text/css" media="screen" href="css/ui.jqgrid.css" /&#62;<br />&#160;<br />&#60;style&#62;<br />html,<br />body {<br />&#160;&#160;&#160; margin: 0;<br />&#160;&#160;&#160; padding: 0;<br />&#160;&#160;&#160; font-size: 75%;<br />}<br />&#60;/style&#62;<br />&#160;<br />&#60;script src="js/jquery-1.4.2.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/i18n/grid.locale-en.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/jquery.jqGrid.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#160;<br />&#60;script type="text/javascript"&#62;<br />var lastgridsel;<br />$(function(){ </p>
<p>var grid_data = <br />&#160;&#160; &#160;[ <br />&#160;&#160; &#160;{id:"1",whoaaa:"hehehe",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"KAKSYAKA",selected:"1",completed:"1"},<br />&#160;&#160; &#160;{id:"2",whoaaa:"hahaha",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"KAKSYAKA",selected:"0",completed:"0"},<br />&#160;&#160; &#160;{id:"3",whoaaa:"huhuhu",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"bhjbjhbj",selected:"0",completed:"1"},<br />&#160;&#160; &#160;{id:"1",whoaaa:"hehehe",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"KAKSYAKA",selected:"1",completed:"1"},<br />&#160;&#160; &#160;{id:"2",whoaaa:"hahaha",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"KAKSYAKA",selected:"0",completed:"0"},<br />&#160;&#160; &#160;{id:"3",whoaaa:"huhuhu",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"bhjbjhbj",selected:"0",completed:"1"},<br />&#160;&#160; &#160;{id:"1",whoaaa:"hehehe",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"KAKSYAKA",selected:"1",completed:"1"},<br />&#160;&#160; &#160;{id:"2",whoaaa:"hahaha",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"KAKSYAKA",selected:"0",completed:"0"},<br />&#160;&#160; &#160;{id:"3",whoaaa:"huhuhu",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"bhjbjhbj",selected:"0",completed:"1"},<br />&#160;&#160; &#160;{id:"1",whoaaa:"hehehe",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"KAKSYAKA",selected:"1",completed:"1"},<br />&#160;&#160; &#160;{id:"2",whoaaa:"hahaha",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"KAKSYAKA",selected:"0",completed:"0"},<br />&#160;&#160; &#160;{id:"1",whoaaa:"hehehe",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"KAKSYAKA",selected:"1",completed:"1"},<br />&#160;&#160; &#160;{id:"2",whoaaa:"hahaha",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"KAKSYAKA",selected:"0",completed:"0"},<br />&#160;&#160; &#160;{id:"3",whoaaa:"huhuhu",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"bhjbjhbj",selected:"0",completed:"1"},<br />&#160;&#160; &#160;{id:"1",whoaaa:"hehehe",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"KAKSYAKA",selected:"1",completed:"1"},<br />&#160;&#160; &#160;{id:"2",whoaaa:"hahaha",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"KAKSYAKA",selected:"0",completed:"0"},<br />&#160;&#160; &#160;{id:"3",whoaaa:"huhuhu",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"bhjbjhbj",selected:"0",completed:"1"},<br />&#160;&#160; &#160;{id:"1",whoaaa:"hehehe",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"KAKSYAKA",selected:"1",completed:"1"},<br />&#160;&#160; &#160;{id:"2",whoaaa:"hahaha",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"KAKSYAKA",selected:"0",completed:"0"},<br />&#160;&#160; &#160;{id:"3",whoaaa:"huhuhu",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"bhjbjhbj",selected:"0",completed:"1"},<br />&#160;&#160; &#160;{id:"1",whoaaa:"hehehe",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"KAKSYAKA",selected:"1",completed:"1"},<br />&#160;&#160; &#160;{id:"2",whoaaa:"hahaha",ko:"9",first_name:"John",last_name:"Kan",username:"huhuhu",password:"KAKSYAKA",selected:"0",completed:"0"},</p>
<p>&#160;&#160; &#160;]; </p>
<p>jQuery("#list").jqGrid({<br />&#160;&#160; &#160;&#160;&#160; &#160;cellEdit:true,<br />&#160;&#160; &#160;&#160;&#160; &#160;cellsubmit: "clientArray",<br />&#160;&#160; &#160;&#160;&#160; &#160;editurl:&#39;clientArray&#39;,&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;datatype: "local",<br />&#160;&#160; &#160;&#160;&#160; &#160;loadonce: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;data: grid_data,<br />&#160;&#160; &#160;&#160;&#160; &#160;gridview:true,<br />&#160;&#160; &#160;&#160;&#160; &#160;rowNum: 20, <br />&#160;&#160; &#160;&#160;&#160; &#160;//scroll:1,<br />&#160;&#160; &#160;&#160;&#160; &#160;height: &#39;100%&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;viewrecords: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;colNames:[&#39;id&#39;,&#39;whoaaa&#39;,&#39;KO&#39;,&#39;First Name&#39;,&#39;Last Name&#39;,&#39;Username&#39;,&#39;Password&#39;,&#39;Selected&#39;,&#39;Completed&#39;],<br />&#160;&#160; &#160;&#160;&#160; &#160;colModel:[ <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;id&#39;,index:&#39;id&#39;,width:60,sorttype:"int",hidden:true},&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;whoaaa&#39;,index:&#39;whoaaa&#39;,width:90,sorttype:"text"},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;pr&#39;,index:&#39;pr&#39;,width:30,sorttype:"int"},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;first_name&#39;,index:&#39;first_name&#39;,width:100,sorttype:"text",editable:true},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;last_name&#39;,index:&#39;last_name&#39;,width:100,sorttype:"text",editable:true},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;username&#39;,index:&#39;username&#39;,width:100,align:"right",sorttype:"text",editable:true},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;password&#39;,index:&#39;password&#39;,width:100,align:"right",sorttype:"text",editable:true},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;selected&#39;,index:&#39;selected&#39;,width:90,editable:true, edittype:&#39;checkbox&#39;, editoptions: { value:"1:0"},&#160; formatter: "checkbox", formatoptions: {disabled : false},sorttype:"text",searchoptions: { sopt: [&#39;eq&#39;], value:":All;1:Yes;0:No" }, stype: &#39;select&#39;,sortable:true},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;completed&#39;,index:&#39;completed&#39;,width:100,editable:true, edittype:&#39;checkbox&#39;, editoptions: { value:"1:0&#8243;},&#160; formatter: "checkbox", formatoptions: {disabled : false},sorttype:"text",searchoptions: { sopt: [&#39;eq&#39;], value:":All;1:Yes;0:No" }, stype: &#39;select&#39;, sortable:true},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;],<br />&#160;&#160; &#160;&#160;&#160; &#160;multiselect: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;filterToolbar: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;height: "200&#8243;,<br />&#160;&#160; &#160;&#160;&#160; &#160;//toolbar:[true,"both"],<br />&#160;&#160; &#160;&#160;&#160; &#160;pager: "#pager", <br />&#160;&#160; &#160;&#160;&#160; &#160;caption: "Accounts" }); </p>
<p>&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;jQuery("#list").jqGrid(&#39;navGrid&#39;,&#39;#pager&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;{view:false,add:false,del:false}<br />&#160;&#160; &#160;&#160;&#160; &#160;).jqGrid(&#39;navButtonAdd&#39;, &#39;#pager&#39;,{id:"showhide",caption:"Show/Hide Columns"}); <br />&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;jQuery("#showhide").click(function() {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery("#list").setColumns();<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return false;<br />&#160;&#160; &#160;&#160;&#160; &#160;});<br />&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;jQuery("#list").jqGrid(&#39;filterToolbar&#39;, {autosearch:true});<br />&#160;&#160; &#160;&#160;&#160; &#160;//$("#list").searchGrid({ } );<br />&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;jQuery("#scc").click( function() { <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;//alert(&#39;click&#39;);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var rowdata= $("#list").jqGrid(&#39;getRowData&#39;);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;//alert(rowdata);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var rowdataString = JSON.stringify(rowdata);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;alert(rowdataString);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;//console.log(rowdata);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;$("#list").setRowData(1,{first_name:"HUHAHUA"}); <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}); &#160;&#160; &#160;&#160;&#160; &#160;<br />});<br />&#160;<br />&#60;/script&#62;</p>
<p>&#160;<br />&#60;/head&#62;<br />&#60;body&#62;</p>
<p>&#60;table id="list"&#62;&#60;/table&#62;<br />&#60;div id="pager"&#62;&#60;/div&#62; </p>
<p>&#60;a href="javascript:void(0)" id="scc"&#62;Change value&#60;/a&#62; <br />&#60;/body&#62;<br />&#60;/html&#62;</p>
</blockquote>
]]></description>
        	        	<pubDate>Sun, 16 Jan 2011 16:28:45 +0200</pubDate>
        </item>
</channel>
</rss>