<?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: Can I use a inline edit in tree mode?</title>
	<link>http://www.trirand.com/blog/?page_id=393/treegrid/can-i-use-a-inline-edit-in-tree-mode</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/can-i-use-a-inline-edit-in-tree-mode/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>kamran377 on Can I use a inline edit in tree mode?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/can-i-use-a-inline-edit-in-tree-mode#p27097</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/can-i-use-a-inline-edit-in-tree-mode#p27097</guid>
        	        	<description><![CDATA[<p>I&#39;m using inline edit for tree grid in jqGrid &#160;4.3.2</p>
]]></description>
        	        	<pubDate>Wed, 08 Aug 2012 13:45:13 +0300</pubDate>
        </item>
        <item>
        	<title>redeteus on Can I use a inline edit in tree mode?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/can-i-use-a-inline-edit-in-tree-mode#p25914</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/can-i-use-a-inline-edit-in-tree-mode#p25914</guid>
        	        	<description><![CDATA[<p>I have little of English. Please understand that I do have limitations in this article on how I express myself.</p>
<p>I saw <a id="cautions_and_limitations" name="cautions_and_limitations" target="_blank">Cautions and Limitations</a>&#160;in treeGrid article.</p>
<p>"Currently it is not recommended to combine inline editing and form editing with treegrid, or the expanded column will not be editable."</p>
<p>I&#160;think it&#39;s been&#160;canceled.</p>
<p>But I download jquery.jqGrid-4.3.1 version, It is still invoke errorfunc.</p>
<p>Please, help me. <img class="spSmiley" style="margin:0" title="Cry" src="/blog/wp-content/forum-smileys/sf-cry.gif" alt="Cry" /><img class="spSmiley" style="margin:0" title="Cry" src="/blog/wp-content/forum-smileys/sf-cry.gif" alt="Cry" /></p>
</p>
<p>&#60;script src="/ext/js/jquery-1.5.2.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="/ext/js/jquery-ui-1.8.17.custom.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="/ext/js/i18n/grid.locale-kr.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="/ext/js/jquery.jqGrid.min.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>&#60;script type="text/javascript"&#62;</p>
<p>jQuery(document).ready(function(){ <br />&#160;&#160;&#160;&#160; viewTreeGrid();<br />&#160;});<br />&#160;<br />&#160;function viewTreeGrid() { <br />&#160;&#160;var lastSel;<br />&#160;&#160;&#160;&#160; jQuery("#treegrid").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; treeGrid: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; treeGridModel: &#39;adjacency&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; treeReader : {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; level_field: "LEVEL",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; parent_id_field: "WBS_UP", <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; leaf_field: "IS_LEAF",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; expanded_field: "EXPANDED"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ExpandColumn : &#39;WBS_ACTI&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ExpandColClick : true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: &#39;/rsp/activity&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;json&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jsonReader : {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; root:&#39;result&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; repeatitems: false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; id: &#39;0&#39;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; postData: {trId: &#39;getActivityList&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; OBJNR:&#39;&#60;%=objnr%&#62;&#39;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;POST&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames:[&#39;&#39;, &#39;ID&#39;, &#39;í”„ë¡œì íŠ¸ êµ¬ì¡°:ë‚´ì—­&#39;,&#39;ì‹œìž‘ì¼&#39;, &#39;ì¢…ë£Œì¼&#39;,&#39;ì§„ë„ìœ¨(%)&#39;, &#39;ìƒìœ„ì—­ë¬´&#39;, &#39;ì†Œì—­ë¬´ì—¬ë¶€&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel:[<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;POINT&#39;,index:&#39;POINT&#39;, width:150, align:&#39;left&#39;, hidden:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;WBS_ACTI&#39;,index:&#39;WBS_ACTI&#39;, width:300, align:&#39;left&#39;, key:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;WBS_DESC&#39;,index:&#39;WBS_DESC&#39;, width:450, align:&#39;left&#39;, editable:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;START_DATE&#39;,index:&#39;START_DATE&#39;, width:150, align:&#39;center&#39;, sortable:false, search: false, editable:true, editrules:{date:false, minValue:0}, editoptions:{dataInit: function (elem) { $(elem).datepicker({dateFormat:"yymmdd"});}, size: 11 }},&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;END_DATE&#39;,index:&#39;END_DATE&#39;, width:150, align:&#39;center&#39;, sortable:false, search: false, editable:true, editrules:{date:false, minValue:0}, editoptions:{dataInit: function (elem) { $(elem).datepicker({dateFormat:"yymmdd"});}, size: 11 }},&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;POC_RATE&#39;,index:&#39;POC_RATE&#39;, width:100, align:&#39;right&#39;, editable:true, editrules:{minValue:0, maxValue:100} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;WBS_UP&#39;,index:&#39;WBS_UP&#39;, width:1, hidden:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;ACTI_FLAG&#39;,index:&#39;ACTI_FLAG&#39;, width:1, hidden:true}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; height:&#39;auto&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; treeIcons: {plus:&#39;ui-icon-plus&#39;,minus:&#39;ui-icon-minus&#39;,leaf:&#39;ui-icon-document-b&#39;},&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; onSelectRow: function(id){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;%<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (userAuth != null &#38;&#38; projAuth != null) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (userAuth.intern() == "a" &#38;&#38; projAuth == "a") {&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; %&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var arrRootNodes = jQuery("#treegrid").jqGrid(&#39;getRootNodes&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (id &#38;&#38; id != lastSel) { <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(&#39;#treegrid&#39;).jqGrid(&#39;restoreRow&#39;, lastSel);&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; lastSel = id; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (arrRootNodes[0].WBS_ACTI != id) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#treegrid").jqGrid(&#39;editRow&#39;, id, { <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; keys : true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url : &#39;/rsp/activity&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; extraparam: {trId:&#39;updateActivitySchedule&#39;,<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;&#160;&#160; OBJNR:&#39;&#60;%=objnr%&#62;&#39;<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;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; succesfunc: function( response ) {&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; errorfunc: function(response) { <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; afterrestorefunc : function(response) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;location.href="/rsp/activity?OBJNR=&#60;%=objnr%&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //&#160;reload();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; aftersavefunc: function(response) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;reload();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;%<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; %&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; gridComplete: function(){<br />&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#treegrid").find(".treeclick").trigger(&#39;click&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; loadError : function(xhr,st,err) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(&#39;#rsperror&#39;).html(&#39;Type: &#39;+st+&#39;; Response: &#39;+ xhr.status + &#39; &#39; +xhr.responseText);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160; });<br />&#160;}</p>
<p>&#60;/script&#62;</p>
<p>&#160;&#60;table id="treegrid" class="urTxtH2"&#62;&#60;tr&#62;&#60;td/&#62;&#60;/tr&#62;&#60;/table&#62; <br />&#160;&#60;div id="ptreegrid" /&#62;<br />&#160;&#60;div id="rsperror" /&#62;</p>
]]></description>
        	        	<pubDate>Fri, 10 Feb 2012 04:42:42 +0200</pubDate>
        </item>
</channel>
</rss>