<?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: Inlien Nav addRow method for Tree Grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/treegrid/inlien-nav-addrow-method-for-tree-grid</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/inlien-nav-addrow-method-for-tree-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>kamran377 on Inlien Nav addRow method for Tree Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/inlien-nav-addrow-method-for-tree-grid#p27123</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/inlien-nav-addrow-method-for-tree-grid#p27123</guid>
        	        	<description><![CDATA[<p>I think the issue i&#39;m facing is due to the fact that according to current limitations of jQGrid tree grid limitations <a href="/jqgridwiki/doku.php?id=wiki:treegrid" target="_blank">here</a>,</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2712' value='Select Code' data-codeid='sfcode2712' /></p>
<div class='sfcode' id='sfcode2712'>&#34;addRowData&#34;</div>
<p>&#160;is not supported in tree grid mode.&#160;</p>
<p>For inline row add,</p>
<p><input type='button' class='sfcodeselect' name='sfselectit163' value='Select Code' data-codeid='sfcode163' /></p>
<div class='sfcode' id='sfcode163'>&#34;this method uses two already constructed methods. When calling the method first executes the addRowData method which add a local row. After this the method call editRow method to edit the row&#34;</div>
<p>&#160;from <a href="/jqgridwiki/doku.php?id=wiki:inline_editing#addrow" target="_blank">inline edit add row documentation</a>.</p>
<p>So as "<strong>addRowData</strong>" is not supported for tree grid,hence inline add row is also not supported for jqGrid tree grid. The limitation list at the jqGrid documentation, needs to be updated</p></p>
]]></description>
        	        	<pubDate>Sun, 12 Aug 2012 14:19:08 +0300</pubDate>
        </item>
        <item>
        	<title>kamran377 on Inlien Nav addRow method for Tree Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/inlien-nav-addrow-method-for-tree-grid#p27096</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/inlien-nav-addrow-method-for-tree-grid#p27096</guid>
        	        	<description><![CDATA[<p>Hi:</p>
<p>I&#39;m trying to use inline Nav "add new row" functionality for a jQGri Treegrid, so far i&#39;m not able to configure it properly. i&#39;ve read teh documentationa nd oteh rposts related to it but nothing is working.</p>
<p>I&#39;ve set the options for addRow but whne i click teh add row icon, a new row is added in the grid and an erro pops out "Uncaught TypeError: Cannot read property &#39;length&#39; of null jquery.jqGrid.src.js:8963&#8243;. Any thoughts on this? I&#39;ve successfully configured teh inliene edit and its working fien for me but nlien add is not workinga s expected!</p>
</p>
<p>I&#39;ve checked the jqgrid src, the error comes in this snippet</p>
<pre class="default prettyprint"><p><input type='button' class='sfcodeselect' name='sfselectit2100' value='Select Code' data-codeid='sfcode2100' /></p><div class='sfcode' id='sfcode2100'><p><input type='button' class='sfcodeselect' name='sfselectit6627' value='Select Code' data-codeid='sfcode6627' /></p><div class='sfcode' id='sfcode6627'>if (treeg) { $(&#34;span:first&#34;,this).html(&#34;&#34;); }<br />else { $(this).html(&#34;&#34;); }<br />var opt = $.extend({},cm[i].editoptions &#124;&#124; {},{id:rowid+&#34;_&#34;+nm,name:nm});<br />if(!cm[i].edittype) { cm[i].edittype = &#34;text&#34;; }<br />if(tmp == &#34;&#38;nbsp;&#34; &#124;&#124; tmp == &#34;&#38;#160;&#34; &#124;&#124; (tmp.length==1 &#38;&#38; tmp.charCodeAt(0)==160) ) {tmp=&#39;&#39;;}</div><br /></div></pre>
<p>this code is looking for span in the column but when i checked the column through firebug, there is no span tag rendered in the markup of that column</p>
<p>Any thoughts on this?</p>
]]></description>
        	        	<pubDate>Wed, 08 Aug 2012 11:56:41 +0300</pubDate>
        </item>
</channel>
</rss>