<?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: How to disable leaf node icon</title>
	<link>http://www.trirand.com/blog/?page_id=393/treegrid/how-to-disable-leaf-node-icon</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/how-to-disable-leaf-node-icon/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>guliver32 on How to disable leaf node icon</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/how-to-disable-leaf-node-icon#p25404</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/how-to-disable-leaf-node-icon#p25404</guid>
        	        	<description><![CDATA[<p>or make last five lines of XML look like this:</p>
<p>...<br />&#60;cell&#62;&#60;/cell&#62;<br />&#60;cell&#62;&#60;/cell&#62;<br />&#60;cell&#62;&#60;/cell&#62;<br />&#60;cell&#62;&#60;/cell&#62;<br />&#60;cell&#62;&#60;/cell&#62;<br />&#60;/row&#62;<br />&#60;/rows&#62;</p>
]]></description>
        	        	<pubDate>Wed, 14 Dec 2011 10:40:07 +0200</pubDate>
        </item>
        <item>
        	<title>rpires on How to disable leaf node icon</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/how-to-disable-leaf-node-icon#p23534</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/how-to-disable-leaf-node-icon#p23534</guid>
        	        	<description><![CDATA[<p>I was trying to do the same and I couldn&#39;t using the "treeIcons" property.</p>
</p>
<p>Here&#39;s how I did it:</p>
</p>
<p>loadComplete: function(data) {</p>
<p><span style="white-space: pre;"> </span>//Hide leaf icons</p>
<p><span style="white-space: pre;"> </span>$(&#39;.tree-leaf&#39;, $(this)).css(&#39;width&#39;, &#39;0px&#39;);&#160;</p>
<p>}</p>
</p>
<p>Hope it helps.</p>
]]></description>
        	        	<pubDate>Thu, 09 Jun 2011 00:06:19 +0300</pubDate>
        </item>
        <item>
        	<title>kobruleht on How to disable leaf node icon</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/how-to-disable-leaf-node-icon#p23070</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/how-to-disable-leaf-node-icon#p23070</guid>
        	        	<description><![CDATA[<p>How to disable leaf node icon? I tried</p>
<p>treeIcons: { leaf: &#39;&#39; },</p>
<p>treeIcons: { leaf:&#160;null },</p>
<p>treeIcons: { leaf: &#39;nonexistingstyle&#39; },</p>
</p>
<p>but default icon appears in this case.</p>
</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; grid.jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: &#39;&#60;%= ResolveUrl("~/Store/GridData")%&#62;&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: "json",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: "POST",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: "auto",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; loadui: "disable",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; treeGridModel: "adjacency",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#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;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: "id", width: 1, hidden: true, key: true },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: "menu" },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name: "url", width: 1, hidden: true }<br />&#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; autowidth: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; treeGrid: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ExpandColumn: "menu",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 200,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ExpandColClick: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; treeIcons: { leaf:&#160;null },&#160; // todo: why this does not remove icon</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; onSelectRow: function (rowid) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var treedata = grid.jqGrid(&#39;getRowData&#39;, rowid);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; window.location = &#39;&#60;%= ResolveUrl("~/")%&#62;&#39; + treedata.url;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>
<p>&#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;&#160;&#160; );<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; grid.parents("div.ui-jqgrid-view").children("div.ui-jqgrid-hdiv").hide();</p>
]]></description>
        	        	<pubDate>Sun, 08 May 2011 16:33:13 +0300</pubDate>
        </item>
</channel>
</rss>