<?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: Sorting question\issue</title>
	<link>http://www.trirand.com/blog/?page_id=393/treegrid/sorting-questionissue</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/sorting-questionissue/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Doug on Sorting question\issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/sorting-questionissue#p11694</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/sorting-questionissue#p11694</guid>
        	        	<description><![CDATA[</p>
<p>Ok.. figured it out. The issue was my data.&#160; I had rows where the level was&#160;0&#160;(root) but they&#160;also had a&#160;parent ids that&#160;didn&#39;t exist in the&#160;row set.&#160; So if anyone sees their columns&#160;get wacky on a column sort this could be your issue.&#160; I don&#39;t see&#160;this as&#160;a "bug" but it probably wouldn&#39;t hurt to override the parent id to "NULL" on any root rows before the processing of the table data starts.. but obviously I am not the expert on the logic in the treegrid so there could be a good reason not to do this.</p>
<p>-Doug</p>
]]></description>
        	        	<pubDate>Mon, 09 Nov 2009 19:52:10 +0200</pubDate>
        </item>
        <item>
        	<title>Doug on Sorting question\issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/sorting-questionissue#p11692</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/sorting-questionissue#p11692</guid>
        	        	<description><![CDATA[</p>
<p>Hello,</p>
</p>
<p>After doing some more testing it seems that when I just return the level 0 nodes the sorting&#160;issues go away.&#160; Are there requirements&#160;in how&#160;the xml nodes should be ordered?&#160;For example, do the level 1 nodes&#160;need to be right after their parent (level 0) node in the xml?</p>
</p>
<p>Thanks,</p>
<p>Doug&#160;</p>
]]></description>
        	        	<pubDate>Mon, 09 Nov 2009 18:33:42 +0200</pubDate>
        </item>
        <item>
        	<title>Doug on Sorting question\issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/sorting-questionissue#p11641</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/sorting-questionissue#p11641</guid>
        	        	<description><![CDATA[</p>
<p>Hello,</p>
<p>I have been working with your amazing plug-in and trying to use the treegrid functionality.&#160; I have been able to load a grid using xml and the adjacency model (loading all the nodes&#160;at once) but when I try to sort using one of the column headers I get some strange behavior.&#160; It seems the columns change to be about equal width but the headers don&#39;t change&#160;so the vertical&#160;alignment gets really off.&#160; I also notice that there does seem to be some local sorting going on.. but not on all the level 0 nodes are sorted ( I am guessing those are the only ones that would get sorted).&#160;&#160;The same behavior happens in IE 8 and FF 3.5.4. and I have tried jqGrid 3.5 and 3.6&#160;.&#160; The only big differences I can see between the demo on your site&#160;and my grid is that I am using&#160;the xmlmap parameter (instead of each element being&#160;&#8221;cell&#8221;) and&#160;it looks like the demo uses the Nested Set Model (the&#160;default).&#160; Any ideas?</p>
<p>Thanks&#160;for any help,&#160;&#160;&#160;</p>
<p>Doug</p>
]]></description>
        	        	<pubDate>Mon, 09 Nov 2009 05:55:30 +0200</pubDate>
        </item>
</channel>
</rss>