<?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: unable to edit row Using Event feature</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/unable-to-edit-row-using-event-feature</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/discussion/unable-to-edit-row-using-event-feature/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on unable to edit row Using Event feature</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/unable-to-edit-row-using-event-feature#p13317</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/unable-to-edit-row-using-event-feature#p13317</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You missed a important part in the colModel. I do not see where you define that the field is editable.</p>
<p>Also to work this you should set editable:true ion colModel.</p>
<p>I recommend you to read first the documentation about editing</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:common_rules" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....mmon_rules</a></p>
<p>Best Regards</p>
<p>Tont</p>
]]></description>
        	        	<pubDate>Sat, 26 Dec 2009 11:43:35 +0200</pubDate>
        </item>
        <item>
        	<title>kikz4life on unable to edit row Using Event feature</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/unable-to-edit-row-using-event-feature#p13152</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/unable-to-edit-row-using-event-feature#p13152</guid>
        	        	<description><![CDATA[<p>&#160;var lastsel;<br />&#160;$("#listFlex").jqGrid({<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;url: root + mod + &#39;/listview2&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;datatype: "json", <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;colNames:[&#39;Role #&#39;,&#39;Role Code&#39;,&#39;Role Description&#39;],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;colModel:[ <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;role_id&#39;,index:&#39;role_id&#39;, width:50, align:"center"},<br />&#160;&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;role_code&#39;,index:&#39;role_code&#39;, width:80},<br />&#160;&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;role_desc&#39;,index:&#39;role_desc&#39;, width:100,align:"left"}<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160; &#160;&#160;&#160; ],<br />&#160;&#160;&#160;&#160; &#160;&#160;&#160; rowNum:10, <br />&#160;&#160;&#160; &#160;&#160;&#160; rowList:[10,20,30], <br />&#160;&#160;&#160; &#160;&#160;&#160; pager: &#39;#pager2&#39;, <br />&#160;&#160;&#160; &#160;&#160;&#160; sortname: &#39;role_id&#39;, <br />&#160;&#160;&#160; &#160;&#160;&#160; width: 700,<br />&#160;&#160;&#160; &#160;&#160; &#160;&#160;&#160; height: "200",<br />&#160;&#160;&#160; &#160;&#160;&#160; viewrecords: true, <br />&#160;&#160;&#160; &#160;&#160;&#160; sortorder: "asc", <br />&#160;&#160;&#160; &#160;&#160;&#160; editurl: "sec_role", <br />&#160;&#160;&#160; &#160;&#160;&#160; caption: "Using events example" <br />&#160;&#160;&#160; &#160;&#160;&#160; }); //jQuery("#listFlex").jqGrid(&#39;navGrid&#39;,&#39;#pager2&#39;,{edit:true,add:true,del:true}); <br />&#160;jQuery("#ed4").click( function() { <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery("#listFlex").jqGrid(&#39;editRow&#39;,"1"); <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; this.disabled = &#39;true&#39;; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery("#sved4").attr("disabled",false); <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }); <br />&#160;<br />&#160;jQuery("#sved4").click( function() { <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery("#listFlex").jqGrid(&#39;saveRow&#39;,"1", checksave); <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery("#sved4").attr("disabled",true); <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery("#ed4").attr("disabled",false); <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }); <br />&#160;<br />&#160;function checksave(result) { if (result.responseText=="") {alert("Update is missing!"); return false;} <br />&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return true; }</p>
</p>
<p>this is my code in js. im unable to save, edit or even delete the row.</p>
<p>ANY POINTERS WILL DO., im really frustrated here :((</p>
</p>
<p>thanks</p>
]]></description>
        	        	<pubDate>Fri, 18 Dec 2009 10:22:47 +0200</pubDate>
        </item>
        <item>
        	<title>tony on unable to edit row Using Event feature</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/unable-to-edit-row-using-event-feature#p13132</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/unable-to-edit-row-using-event-feature#p13132</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Nobody will help you if you just say not work.</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 17 Dec 2009 19:28:59 +0200</pubDate>
        </item>
        <item>
        	<title>kikz4life on unable to edit row Using Event feature</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/unable-to-edit-row-using-event-feature#p13106</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/unable-to-edit-row-using-event-feature#p13106</guid>
        	        	<description><![CDATA[<p>hi,</p>
</p>
<p>im integrating jqgrid with CI, done that in this <a href="http://www.trirand.com/blog/jqgrid/jqgrid.html#" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/jq" rel="nofollow">http://www.trirand.com/blog/jq</a>.....grid.html#</a></p>
<p>but i am unable to get it the edit row in the event feature. I&#39;ve done all necessary procedures.. btw- i am able to populate my grid using json datatype.</p>
</p>
<p>anyone please help me. ive spent 4hr figuring this out</p>
</p>
<p>thanks in adv</p>
<p>-Dean<img class="spSmiley" style="margin:0" title="Cry" src="/blog/wp-content/forum-smileys/sf-cry.gif" alt="Cry" /></p>
]]></description>
        	        	<pubDate>Thu, 17 Dec 2009 10:50:31 +0200</pubDate>
        </item>
</channel>
</rss>