<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: jQuery TableSorter Comma Parser</title>
	<atom:link href="http://www.barneyb.com/barneyblog/2009/06/03/jquery-tablesorter-comma-parser/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.barneyb.com/barneyblog/2009/06/03/jquery-tablesorter-comma-parser/</link>
	<description>Thoughts, rants, and even some code from the mind of Barney Boisvert.</description>
	<lastBuildDate>Mon, 15 Mar 2010 14:41:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: barneyb</title>
		<link>http://www.barneyb.com/barneyblog/2009/06/03/jquery-tablesorter-comma-parser/comment-page-1/#comment-199692</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Thu, 17 Dec 2009 16:30:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=992#comment-199692</guid>
		<description>Ja,

Check out this example from the TableSorter docs: http://tablesorter.com/docs/example-meta-parsers.html</description>
		<content:encoded><![CDATA[<p>Ja,</p>
<p>Check out this example from the TableSorter docs: <a href="http://tablesorter.com/docs/example-meta-parsers.html" rel="nofollow">http://tablesorter.com/docs/example-meta-parsers.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ja</title>
		<link>http://www.barneyb.com/barneyblog/2009/06/03/jquery-tablesorter-comma-parser/comment-page-1/#comment-199639</link>
		<dc:creator>Ja</dc:creator>
		<pubDate>Thu, 17 Dec 2009 04:13:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=992#comment-199639</guid>
		<description>Hi, I&#039;m encountering the same problem as kidcardboard&#039;s. What do you mean by &quot;explicitly registering the parser for the table column&quot;? Could you please explain? Thanks.</description>
		<content:encoded><![CDATA[<p>Hi, I'm encountering the same problem as kidcardboard's. What do you mean by "explicitly registering the parser for the table column"? Could you please explain? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kidcardboard</title>
		<link>http://www.barneyb.com/barneyblog/2009/06/03/jquery-tablesorter-comma-parser/comment-page-1/#comment-198124</link>
		<dc:creator>kidcardboard</dc:creator>
		<pubDate>Wed, 02 Dec 2009 19:54:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=992#comment-198124</guid>
		<description>That was it. I registered it explicitly for each column and it works now. ty</description>
		<content:encoded><![CDATA[<p>That was it. I registered it explicitly for each column and it works now. ty</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>http://www.barneyb.com/barneyblog/2009/06/03/jquery-tablesorter-comma-parser/comment-page-1/#comment-198122</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Wed, 02 Dec 2009 19:07:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=992#comment-198122</guid>
		<description>kidcardboard,

Are you explicitly registering the parser for your table column, or letting TableSorter figure it out on it&#039;s own?  If the latter, see if registering it explicitly helps.  I don&#039;t really know anything about how TableSorter does it&#039;s thing, but if you crack it open, it might yield some info that&#039;ll help if it still doesn&#039;t do the right thing.</description>
		<content:encoded><![CDATA[<p>kidcardboard,</p>
<p>Are you explicitly registering the parser for your table column, or letting TableSorter figure it out on it's own?  If the latter, see if registering it explicitly helps.  I don't really know anything about how TableSorter does it's thing, but if you crack it open, it might yield some info that'll help if it still doesn't do the right thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kidcardboard</title>
		<link>http://www.barneyb.com/barneyblog/2009/06/03/jquery-tablesorter-comma-parser/comment-page-1/#comment-198119</link>
		<dc:creator>kidcardboard</dc:creator>
		<pubDate>Wed, 02 Dec 2009 19:00:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=992#comment-198119</guid>
		<description>This works like a charm as longs as you have values with commas in the first row. 

My problem is my values range from 0 - 2,000 so if the value in the first row doesn&#039;t have a comma in it it treats all comma&#039;d values in that corresponding column as strings. For the time being I&#039;ve put in a hidden row with 9,999 as it&#039;s value and it works, but this is obviously not the best solution.

Any suggestions?</description>
		<content:encoded><![CDATA[<p>This works like a charm as longs as you have values with commas in the first row. </p>
<p>My problem is my values range from 0 &#8211; 2,000 so if the value in the first row doesn't have a comma in it it treats all comma'd values in that corresponding column as strings. For the time being I've put in a hidden row with 9,999 as it's value and it works, but this is obviously not the best solution.</p>
<p>Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://www.barneyb.com/barneyblog/2009/06/03/jquery-tablesorter-comma-parser/comment-page-1/#comment-191006</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Mon, 14 Sep 2009 04:40:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=992#comment-191006</guid>
		<description>Does anyone know how to configure tablesorter so that some of the columns will sort Descending on first click, while other columns will sort Ascending on first click.
The &quot;use case&quot; is I want Alpha columns (like people&#039;s names) to sort A...Z, but if user clicks on say the number column that it would sort Descending (100...1). I was not successful so far using the &quot;headers&quot; config. I think it is using that in conjunction with sortlist.   The sortlist example is always showing it firing on page load.

Thanks!
jeremy.</description>
		<content:encoded><![CDATA[<p>Does anyone know how to configure tablesorter so that some of the columns will sort Descending on first click, while other columns will sort Ascending on first click.<br />
The "use case" is I want Alpha columns (like people's names) to sort A&#8230;Z, but if user clicks on say the number column that it would sort Descending (100&#8230;1). I was not successful so far using the "headers" config. I think it is using that in conjunction with sortlist.   The sortlist example is always showing it firing on page load.</p>
<p>Thanks!<br />
jeremy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serb</title>
		<link>http://www.barneyb.com/barneyblog/2009/06/03/jquery-tablesorter-comma-parser/comment-page-1/#comment-190091</link>
		<dc:creator>Serb</dc:creator>
		<pubDate>Mon, 31 Aug 2009 22:25:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=992#comment-190091</guid>
		<description>Yeah, it only took me 3 hours and about a dozen posts all over the net to find a clue where to look for it...</description>
		<content:encoded><![CDATA[<p>Yeah, it only took me 3 hours and about a dozen posts all over the net to find a clue where to look for it&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>http://www.barneyb.com/barneyblog/2009/06/03/jquery-tablesorter-comma-parser/comment-page-1/#comment-190087</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Mon, 31 Aug 2009 21:18:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=992#comment-190087</guid>
		<description>Awesome!  Thanks Serb.</description>
		<content:encoded><![CDATA[<p>Awesome!  Thanks Serb.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serb</title>
		<link>http://www.barneyb.com/barneyblog/2009/06/03/jquery-tablesorter-comma-parser/comment-page-1/#comment-190085</link>
		<dc:creator>Serb</dc:creator>
		<pubDate>Mon, 31 Aug 2009 21:13:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=992#comment-190085</guid>
		<description>found it.

the line that says the following in jquery.tablesorter.js file:

// get current column sort order
this.order = this.count++ % 2;

just change that to this instead:

this.order = ++this.count % 2;</description>
		<content:encoded><![CDATA[<p>found it.</p>
<p>the line that says the following in jquery.tablesorter.js file:</p>
<p>// get current column sort order<br />
this.order = this.count++ % 2;</p>
<p>just change that to this instead:</p>
<p>this.order = ++this.count % 2;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>http://www.barneyb.com/barneyblog/2009/06/03/jquery-tablesorter-comma-parser/comment-page-1/#comment-190083</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Mon, 31 Aug 2009 18:50:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=992#comment-190083</guid>
		<description>@Serb

I haven&#039;t looked into the initial DESC sort any more since I posted, and the couple people I&#039;ve talked to about it haven&#039;t had any insight to offer either.  I&#039;d imagine hacking the code to be pretty simple (just have to flip some bit&#039;s initial value somewhere), but I haven&#039;t bothered to dig in.</description>
		<content:encoded><![CDATA[<p>@Serb</p>
<p>I haven't looked into the initial DESC sort any more since I posted, and the couple people I've talked to about it haven't had any insight to offer either.  I'd imagine hacking the code to be pretty simple (just have to flip some bit's initial value somewhere), but I haven't bothered to dig in.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
