<?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: removing column header row</title>
	<link>http://www.trirand.com/blog/?page_id=393/treegrid/removing-column-header-row</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/removing-column-header-row/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>kobruleht on removing column header row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/removing-column-header-row#p23058</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/removing-column-header-row#p23058</guid>
        	        	<description><![CDATA[<p>Thank you. It works.</p>
<p>I noticed that if some item is clicked in tree, treeview changes its width. How to disable this so that treeview width does not change if clicked in item ?</p>
<p>Andrus.</p>
]]></description>
        	        	<pubDate>Sat, 07 May 2011 22:02:50 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on removing column header row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/removing-column-header-row#p23057</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/removing-column-header-row#p23057</guid>
        	        	<description><![CDATA[<p>You can execute the code which I suggested you before directly after the jqGrid will be created.</p>
<p><input type='button' class='sfcodeselect' name='sfselectit144' value='Select Code' data-codeid='sfcode144' /></p>
<div class='sfcode' id='sfcode144'>var grid = $(&#34;#west-grid&#34;);<br />grid.jqGrid({<br />&#160; &#160; // all jqGrid parameters<br />});<br />grid.parents(&#34;div.ui-jqgrid-view&#34;).children(&#34;div.ui-jqgrid-hdiv&#34;).hide();</div>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Sat, 07 May 2011 18:26:46 +0300</pubDate>
        </item>
        <item>
        	<title>kobruleht on removing column header row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/removing-column-header-row#p23055</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/removing-column-header-row#p23055</guid>
        	        	<description><![CDATA[<p>I havent found any event whichg occurs only once after grid is constructed. So I used:</p>
<p>lloadComplete: function (rowid) {<br />&#160; var grid = $("#west-grid");<br />&#160; var gview = grid.parents("div.ui-jqgrid-view");<br />&#160; gview.children("div.ui-jqgrid-hdiv").hide();<br />&#160; },</p>
</p>
<p>Is this best place to remove header ?</p></p>
]]></description>
        	        	<pubDate>Sat, 07 May 2011 15:45:05 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on removing column header row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/removing-column-header-row#p23054</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/removing-column-header-row#p23054</guid>
        	        	<description><![CDATA[<p>You can find <a href="http://stackoverflow.com/questions/3462071/jqgrid-get-th-and-thead-using-jquery/3463002#3463002" target="_blank">here</a> the description of the jqGrid elemens. There are gvew div which contain both grid body and grid headers. You cen get the gview with the code</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6912' value='Select Code' data-codeid='sfcode6912' /></p>
<div class='sfcode' id='sfcode6912'>var grid = $(&#34;#west-grid&#34;);<br />var gview = grid.parents(&#34;div.ui-jqgrid-view&#34;);&#160;</div>
<p>oder with</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1392' value='Select Code' data-codeid='sfcode1392' /></p>
<div class='sfcode' id='sfcode1392'>var grid = $(&#34;#west-grid&#34;);<br />var gview = $(&#34;#gview_&#34;+grid[0].id);&#160;</div>
<p>To disable (to hide) the column headers of jqGrid you should do the following:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7391' value='Select Code' data-codeid='sfcode7391' /></p>
<div class='sfcode' id='sfcode7391'>gview.children(&#34;div.ui-jqgrid-hdiv&#34;).hide();</div>
<p>The hiding of the column headers can have sense only if like in your case there are only one visible column in the grid.</p>
<p>By the way you don&#39;t need to define <strong>pager: false</strong> parameter of jqGrid. Exactly like you not defined <strong>caption</strong> parameter you can just not define the <strong>pager</strong> parameter.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Sat, 07 May 2011 13:32:34 +0300</pubDate>
        </item>
        <item>
        	<title>kobruleht on removing column header row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/removing-column-header-row#p23051</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/removing-column-header-row#p23051</guid>
        	        	<description><![CDATA[<p>Single column treegrid shows grid header row. Setting&#160;&#160;&#160; colNames: ["id", "", "url"],&#160;&#160;&#160; shows blank header. How to&#160;remove column header, so that treeGrid appears more like traditional tree ?</p>
<p>$("#west-grid").jqGrid({<br />&#160;&#160;&#160;&#160; url: &#39;&#60;%= ResolveUrl("~/Store/GridData")%&#62;&#39;,<br />&#160;&#160;&#160;&#160; datatype: "json",<br />&#160;&#160;&#160;&#160; mtype: "POST",<br />&#160;&#160;&#160;&#160;&#160;&#160; height: "auto",<br />&#160;&#160;&#160;&#160; pager: false,<br />&#160;&#160; loadui: "disable",<br />&#160;&#160; treeGridModel: "adjacency",<br />&#160;&#160; colNames: ["id", "", "url"],<br />&#160;&#160;&#160;&#160; colModel: [<br />&#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; { name: "menu" },<br />&#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: &#39;ui-icon-document-b&#39; },<br />&#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 = $("#west-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; if (treedata.isLeaf == "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; 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;&#160;&#160;&#160;&#160; }<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; );</p>
]]></description>
        	        	<pubDate>Sat, 07 May 2011 08:43:04 +0300</pubDate>
        </item>
</channel>
</rss>