<?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: To sort a custom column</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/to-sort-a-custom-column</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/help/to-sort-a-custom-column/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>bastien on To sort a custom column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/to-sort-a-custom-column#p25292</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/to-sort-a-custom-column#p25292</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I think I understand the problem. When there is a click to sort a column, a new search is launched. For this new search, the variable $sidx in my script file takes the value of the index of the column the user clicks to sort.</p>
<p>So, as my column doesn&#39;t exist in my DB (because it&#39;s calculated by myself), the SQL doesn&#39;t work.</p>
<p>It seems so that it&#39;s not possible to sort calculated datas which don&#39;t exist in the DB.</p>
<p>Is it the same when grid is in the new mode "grid view mode", appeared in version 3.5 ?</p>
<p>I think yes... so what I want to do is just impossible with jqgrid ? Anybody had to treat a similar case ?</p>
<p>thanks for answers</p>
<p>Bastien</p>
]]></description>
        	        	<pubDate>Thu, 01 Dec 2011 11:25:32 +0200</pubDate>
        </item>
        <item>
        	<title>bastien on To sort a custom column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/to-sort-a-custom-column#p25280</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/to-sort-a-custom-column#p25280</guid>
        	        	<description><![CDATA[<p>Hi everybody,</p>
<p>After loading the data by my sql request in my script.php file, I do some calculations in order to create some new columns with new data like increase, gap, ...</p>
<p>After I did my calculations, I write the xml data and I add a line to add the new cells for my new columns.</p>
<p>When I load the grid, everything is ok. My new data are in the grid.</p>
<p>If I sort the data loaded from the database, it&#39;s ok. But when I try to sort a colum with my new data, calculated and not loaded from DB, it doesn&#39;t work and the grid becomes empty.</p>
<p>I can retrieve the grid with data if I click on the title of a column which has data loaded from the DB.</p>
<p>Any idea ?</p>
<p>thanks 🙂</p>
<p>Bastien</p>
]]></description>
        	        	<pubDate>Wed, 30 Nov 2011 23:21:44 +0200</pubDate>
        </item>
</channel>
</rss>