<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>pixelnix.com &#187; jQuery</title>
	<atom:link href="http://pixelnix.com/category/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://pixelnix.com</link>
	<description></description>
	<lastBuildDate>Fri, 19 Nov 2010 22:56:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flexigrid jQuery plugin: extending to allow sorting of static grids</title>
		<link>http://pixelnix.com/flexigrid-jquery-plugin-extending-to-allow-sorting-of-static-grids/</link>
		<comments>http://pixelnix.com/flexigrid-jquery-plugin-extending-to-allow-sorting-of-static-grids/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 23:13:55 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[flexigrid]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://pixelnix.com/?p=74</guid>
		<description><![CDATA[Flexigrid is a nice lightweight jQuery plugin that turns tables into sortable, searchable, data-driven grids.  It&#8217;s all ajaxed up to the hilt, like every other jQuery plugin, but it can also create a quick nice-looking grid from a plain ol&#8217; HTML table.
Out of the box, though, its column sorting feature does not work unless your [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/p/flexigrid/" target="_blank">Flexigrid</a> is a nice lightweight jQuery plugin that turns tables into sortable, searchable, data-driven grids.  It&#8217;s all ajaxed up to the hilt, like every other jQuery plugin, but it can also create a quick nice-looking grid from a plain ol&#8217; HTML table.</p>
<p>Out of the box, though, its column sorting feature does not work unless your grid is hooked up to a server-side data source.  Here is a svn patch that adds this functionality to the current head branch of flexigrid.js:</p>
<p><a href="http://pixelnix.com/wp-content/uploads/flexigrid-sort-in-place.diff">flexigrid-sort-in-place.diff</a></p>
<p>This patch is built on the current trunk revision of flexigrid.js, which is r3.  I am currently unable to create a patch for the current release version (&#8220;1.0b3&#8243;), which is slightly different; but to apply these changes to that version is pretty simple, since I only made 3 changes:</p>
<ol>
<li>add &#8220;sortorder: &#8216;asc&#8217;&#8221; to the default properties struct up at the top</li>
<li>add the &#8220;else if (!p.url) this.inPlaceSort();&#8221; clause to the end of the changeSort method</li>
<li>copy in the inPlaceSort() function</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://pixelnix.com/flexigrid-jquery-plugin-extending-to-allow-sorting-of-static-grids/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>

