<?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: +++edit modal issue</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/edit-modal-issue</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/edit-modal-issue/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>faizaliqbaal on +++edit modal issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/edit-modal-issue#p4119</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/edit-modal-issue#p4119</guid>
        	        	<description><![CDATA[<p>Thanks a ton tony...yes indeed the id was screwed up.</p>
</p>
<p>Thanks a ton u&#160; saved the day 🙂</p>
]]></description>
        	        	<pubDate>Thu, 22 Jan 2009 23:40:09 +0200</pubDate>
        </item>
        <item>
        	<title>tony on +++edit modal issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/edit-modal-issue#p3928</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/edit-modal-issue#p3928</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Hello check the id of the row - What you have if you alert the variable gr?</p>
<p>Also make alert(gr)</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 12 Jan 2009 09:52:09 +0200</pubDate>
        </item>
        <item>
        	<title>faizaliqbaal on +++edit modal issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/edit-modal-issue#p3920</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/edit-modal-issue#p3920</guid>
        	        	<description><![CDATA[<p>Hi&#160; Tony/All</p>
</p>
<p>I have an app in production using jqgrid.</p>
</p>
<p>the problemis this --</p>
<p>i have a grid with pagination enabled .....</p>
<p>if i select a row and edit it on the same page it just works fine ...but when i move to next page and select another row , the edit dialogue still loads the previous selection.</p>
</p>
<p>Also when i move to the last page initally itself and then try to edit the row the edit dialogue doesnt work properly...even i move back to the first page.</p>
</p>
<p>Can u please help...the app is already in production and users are getting severly effected</p>
</p>
<p>here is my grid code</p>
</p>
<p>$("#msgKeysTable").jqGrid({ <br />datatype: &#39;json&#39;, <br />&#160;url: "keyOperations.htm?connId="+connId+"&#38;appId="+appId+"&#38;paramName=messagesKeyOps",<br />colNames:[&#39;Message Name&#39;,&#39;Message Text&#39;,&#39;Type&#39;,&#39;Description&#39;,&#39;Category&#39;,&#39;Severity&#39;,&#39;Created By&#39;,&#39;languageCode&#39;], <br />colModel :[ <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;messageName&#39;,index:&#39;messageName&#39;, width:150,align:&#39;left&#39;,sortable:true,editable:false}, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;messageText&#39;,index:&#39;messageText&#39;, width:150, align:&#39;left&#39;,sortable:true,editable:false},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;type&#39;,index:&#39;type&#39;, width:125, align:&#39;left&#39;,sortable:true,editable:false,edittype:"select",editoptions:{value:"50_PCT_EXPANSION_PROMPT:50_PCT_EXPANSION_PROMPT;OTHER:OTHER;MENU:MENU;TITLE:TITLE;100_PCT_EXPANSION_PROMPT:100_PCT_EXPANSION_PROMPT;WARN:WARN;QUESTION:QUESTION;TOKEN:TOKEN;CRITICAL:CRITICAL;REJECT:REJECT;WARNING:WARNING;ERROR:ERROR;NOTE:NOTE;ACTION:ACTION;30_PCT_EXPANSION_PROMPT:30_PCT_EXPANSION_PROMPT;SUMMARY:SUMMARY;HINT:HINT;PROMPT:PROMPT"}}, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;description&#39;,index:&#39;description&#39;, width:150, align:&#39;left&#39;,sortable:true,editable:false}, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:"category",index:&#39;category&#39;,width:70,editable:false,edittype:"select",editoptions:{value:"PRODUCT:PRODUCT;SECURITY:SECURITY;SYSTEM:SYSTEM;USER:USER"}}, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:"severity",index:&#39;severity&#39;,width:90,align:"right",editable:false,edittype:"select",editoptions:{value:"CRITICAL:CRITICAL;WARNING:WARNING;ERROR:ERROR"}}, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:"createdBy",index:&#39;createdBy&#39;,width:77,align:"center",editable:false},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;languageCode&#39;,index:&#39;languageCode&#39;, hidden:true,editable:false}</p>
<p>&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; ], <br />&#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; pager: $(&#39;#pagerMsgKeysTable&#39;), <br />&#160;&#160;&#160; &#160;&#160;&#160; rowNum:5, <br />&#160;&#160;&#160; &#160;&#160;&#160; rowList:[5,10],<br />&#160;&#160;&#160; &#160;&#160;&#160; sortname: "id",<br />&#160;&#160;&#160; &#160;&#160;&#160; sortorder: "desc",<br />&#160;&#160;&#160; &#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160; &#160;&#160;&#160; multiselect: false,<br />&#160;&#160;&#160; &#160;&#160;&#160; imgpath: &#39;images&#39;<br />&#160;&#160;&#160; &#160;&#160;&#160; }).navGrid("#pagerMsgKeysTable",{refresh: false,edit: false, add: false, del: false, search: false});</p>
<p>and here is my edit button&#39;s code</p>
</p>
<p>$("#editRowMessages").click(function(){<br />&#160;&#160;&#160; &#160;&#160;&#160; makeMsgRowEditable("msgKeysTable");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $("#msgKeysTable").setColProp(&#39;messageName&#39;,{editable:false}) ;<br />&#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; var gr = $("#msgKeysTable").getGridParam(&#39;selrow&#39;); <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; console.log("---------------------------------------------------------------"+gr);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; var rowData=$("#msgKeysTable").getRowData(gr);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if( gr != null ) <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; console.log(rowData);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $("#msgKeysTable").editGridRow(gr,{closeAfterEdit:true,reloadAfterSubmit:false,modal: true,drag: true,editCaption: "Edit Message",bSubmit:"Save Changes",bCancel:"Cancel Changes",url:"keyOperations.htm?paramName=messagesKeyOps&#38;opName=editMessage&#38;messageName="+rowData.messageName}); <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; else <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; alert("Please Select Row"); <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; makeMsgRowNonEditable("msgKeysTable");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; });</p></p>
]]></description>
        	        	<pubDate>Sat, 10 Jan 2009 14:22:59 +0200</pubDate>
        </item>
</channel>
</rss>