<?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: no collapse with adjacency model &#38; xml</title>
	<link>http://www.trirand.com/blog/?page_id=393/treegrid/no-collapse-with-adjacency-model-xml</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/no-collapse-with-adjacency-model-xml/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>LK on no collapse with adjacency model &#38; xml</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/no-collapse-with-adjacency-model-xml#p15146</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/no-collapse-with-adjacency-model-xml#p15146</guid>
        	        	<description><![CDATA[<p>Maybe my problem ist to specific.</p>
<p>Does anyone have a working demo of treegrid using the adjacency-model with xml ?</p>
<p>That would help me a lot.</p>
</p>
<p>thanks in advance</p>
]]></description>
        	        	<pubDate>Thu, 25 Feb 2010 10:55:18 +0200</pubDate>
        </item>
        <item>
        	<title>LK on no collapse with adjacency model &#38; xml</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/no-collapse-with-adjacency-model-xml#p15090</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/no-collapse-with-adjacency-model-xml#p15090</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>thank you for the fast answer.</p>
<p>I&#39;ve checked the data again and there are no duplicate row id&#39;s. I created a test-case with only one parent with one</p>
<p>child and the html seems to be correct .</p>
<p>The created html looks like :</p>
<p>&#160; &#60;tr class="ui-widget-content jqgrow ui-row-ltr" role="row" id="36 "&#62;</p>
<p>&#160; &#60;td title="36 " style="display: none;" role="gridcell"&#62;36 &#60;/td&#62;</p>
<p>&#160; &#60;td title="test2 " style="" role="gridcell"&#62;&#60;div style="width: 18px;" class="tree-wrap tree-wrap-ltr"&#62;</p>
<p>&#160; &#60;div class="ui-icon treeclick ui-icon-triangle-1-s tree-minus" style="left: 0px;"/&#62;&#60;/div&#62;</p>
<p>&#160; &#60;span&#62;test2 &#60;/span&#62;&#60;/td&#62;</p>
<p>&#160; &#60;td title="0" style="display: none;" role="gridcell"&#62;0&#60;/td&#62;</p>
<p>&#160; &#60;td title="3" style="display: none;" role="gridcell"&#62;3&#60;/td&#62;</p>
<p>&#160; &#60;td title="false" style="display: none;" role="gridcell"&#62;false&#60;/td&#62;</p>
<p>&#160; &#60;td title="false" style="display: none;" role="gridcell"&#62;false&#60;/td&#62;</p>
<p>&#60;/tr&#62;</p>
<p>&#60;tr class="ui-widget-content jqgrow ui-row-ltr" role="row" id="38 "&#62;</p>
<p>&#160; &#60;td title="38 " style="display: none; width: 1px;" role="gridcell"&#62;38 &#60;/td&#62;</p>
<p>&#160; &#60;td title="test2_test1 " style="width: 175px;" role="gridcell"&#62;</p>
<p>&#160; &#60;div style="width: 36px;" class="tree-wrap tree-wrap-ltr"&#62;</p>
<p>&#160; &#60;div class="ui-icon ui-icon-triangle-1-e tree-plus treeclick" style="left: 18px;"/&#62;&#60;/div&#62;</p>
<p>&#160; &#60;span&#62;test2_test1 &#60;/span&#62;&#60;/td&#62;</p>
<p>&#160; &#60;td title="1" style="display: none; width: 1px;" role="gridcell"&#62;1&#60;/td&#62;</p>
<p>&#160; &#60;td title="36" style="display: none; width: 1px;" role="gridcell"&#62;36&#60;/td&#62;</p>
<p>&#160; &#60;td title="false" style="display: none; width: 1px;" role="gridcell"&#62;false&#60;/td&#62;</p>
<p>&#160; &#60;td title="false" style="display: none; width: 1px;" role="gridcell"&#62;false&#60;/td&#62;</p>
<p>&#60;/tr&#62;</p>
]]></description>
        	        	<pubDate>Tue, 23 Feb 2010 12:13:37 +0200</pubDate>
        </item>
        <item>
        	<title>tony on no collapse with adjacency model &#38; xml</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/no-collapse-with-adjacency-model-xml#p15089</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/no-collapse-with-adjacency-model-xml#p15089</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Check to hee in your data if you construct it correct and there are no duplicate row id&#39;s.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 23 Feb 2010 11:58:33 +0200</pubDate>
        </item>
        <item>
        	<title>LK on no collapse with adjacency model &#38; xml</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/no-collapse-with-adjacency-model-xml#p15086</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/no-collapse-with-adjacency-model-xml#p15086</guid>
        	        	<description><![CDATA[<p>I&#39;m having a problem with collapsing in treeGrid by using the adjacency model.</p>
<p>I&#39;ve tried severeal times to get it working but it seems i&#39;m missing a point &#38; the demo of jqgrid for the adjacency model isn&#39;t working as well.</p>
</p>
<p>The problem is - if i expand a column it works fine it loads the right data by xml &#38; shows them.</p>
<p>But if i collapse the parent-column it does nothing. So the child-data is still shown and if i expand the parent</p>
<p>again it loads the data again and if have twice the children-elements.</p>
</p>
<p>I&#39;m using jqGrid 3.6.4</p>
<p>js-code:</p>
<p>$(document).ready(<br />&#160;&#160;&#160; function()<br />&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#treegrid").jqGrid({<br />&#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; treeGridModel: &#39;adjacency&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; treeModel: &#39;adjacency&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: xml_url,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; treedatatype: "xml",<br />&#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; colNames:["id","name"],<br />&#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; {name:&#39;id&#39;,index:&#39;id&#39;, width:1,hidden:true,key:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;name&#39;,index:&#39;name&#39;, width:180}<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; height:&#39;auto&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager : jQuery("#ptreegrid"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ExpandColumn : &#39;name&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: "Treegrid documents"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160; });</p>
</p>
<p>the xml of a child send by the server:</p>
<p>echo "&#60;?xml version=&#39;1.0&#39; encoding=&#39;utf-8&#39; ? &#62;";<br />&#160;&#160;&#160; echo "&#60;rows&#62;";<br />&#160;&#160;&#160; echo "&#60;page&#62;1&#60;/page&#62;";<br />&#160;&#160;&#160; echo "&#60;total&#62;1&#60;/total&#62;";<br />&#160;&#160;&#160; echo "&#60;records&#62;1&#60;/records&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; echo "&#60;row&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; echo "&#60;cell&#62;" . $document-&#62;id ." &#60;/cell&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; echo "&#60;cell&#62;" . $document-&#62;title ." &#60;/cell&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; echo "&#60;cell&#62;" . $level . "&#60;/cell&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; echo "&#60;cell&#62;" . $parent . "&#60;/cell&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; echo "&#60;cell&#62;true&#60;/cell&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; echo "&#60;cell&#62;false&#60;/cell&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; echo "&#60;/row&#62;";<br />&#160;&#160;&#160; echo "&#60;/rows&#62;";</p>
</p>
<p>===============================</p>
<p>Thanks in advance for any help.</p></p>
]]></description>
        	        	<pubDate>Tue, 23 Feb 2010 11:52:03 +0200</pubDate>
        </item>
</channel>
</rss>