<?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 Column Filters</title>
	<atom:link href="http://tomcoote.co.uk/code-bank/jquery-column-filters/feed/" rel="self" type="application/rss+xml" />
	<link>http://tomcoote.co.uk</link>
	<description>An ace web developer!</description>
	<lastBuildDate>Tue, 31 Jan 2012 19:47:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Artem</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-column-filters/comment-page-1/#comment-33966</link>
		<dc:creator>Artem</dc:creator>
		<pubDate>Thu, 22 Dec 2011 13:31:40 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=65#comment-33966</guid>
		<description>Работает прекрасно!
Спасибо.</description>
		<content:encoded><![CDATA[<p>Работает прекрасно!<br />
Спасибо.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Artem</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-column-filters/comment-page-1/#comment-33965</link>
		<dc:creator>Artem</dc:creator>
		<pubDate>Thu, 22 Dec 2011 13:30:30 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=65#comment-33965</guid>
		<description>Если кому интересно

$(document).ready(function() {
    $(&#039;table#filterTable1&#039;).columnFilters({}, function() {
        var sum = 0;
        $(&#039;#filterTable1 td.sss:visible&#039;).each(function() {
            sum += parseInt($(this).html());
        });
        $(&#039;#filterTable1 td.sum&#039;).html(sum);
    });
});</description>
		<content:encoded><![CDATA[<p>Если кому интересно</p>
<p>$(document).ready(function() {<br />
    $(&#8216;table#filterTable1&#8242;).columnFilters({}, function() {<br />
        var sum = 0;<br />
        $(&#8216;#filterTable1 td.sss:visible&#8217;).each(function() {<br />
            sum += parseInt($(this).html());<br />
        });<br />
        $(&#8216;#filterTable1 td.sum&#8217;).html(sum);<br />
    });<br />
});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-column-filters/comment-page-1/#comment-30619</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 29 Nov 2011 16:20:54 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=65#comment-30619</guid>
		<description>Hi Tom,

I love the filters example but what happens when you want to search inside a column which has html in it.

For example, how do you get the filter to search on a value say 123 when the cell itself contains the value: &lt;a href=&quot;website&quot; rel=&quot;nofollow&quot;&gt;123&lt;/a&gt;?

Any ideas?

Thanks in advance,
Michael</description>
		<content:encoded><![CDATA[<p>Hi Tom,</p>
<p>I love the filters example but what happens when you want to search inside a column which has html in it.</p>
<p>For example, how do you get the filter to search on a value say 123 when the cell itself contains the value: <a href="website" rel="nofollow">123</a>?</p>
<p>Any ideas?</p>
<p>Thanks in advance,<br />
Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Artem</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-column-filters/comment-page-1/#comment-30579</link>
		<dc:creator>Artem</dc:creator>
		<pubDate>Tue, 29 Nov 2011 12:58:09 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=65#comment-30579</guid>
		<description>Tom, good time of day!
 I apologize for my English.

 Could you please describe in detail how to add code to find the sum of the column of the filtered values

 I am the second day of learning Javascript, and, unfortunately, was unable to practice your response to Nikolay

 I would be very grateful for your response.</description>
		<content:encoded><![CDATA[<p>Tom, good time of day!<br />
 I apologize for my English.</p>
<p> Could you please describe in detail how to add code to find the sum of the column of the filtered values</p>
<p> I am the second day of learning Javascript, and, unfortunately, was unable to practice your response to Nikolay</p>
<p> I would be very grateful for your response.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikolay</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-column-filters/comment-page-1/#comment-30560</link>
		<dc:creator>Nikolay</dc:creator>
		<pubDate>Tue, 29 Nov 2011 11:17:01 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=65#comment-30560</guid>
		<description>Thank&#039;s working greate!</description>
		<content:encoded><![CDATA[<p>Thank&#8217;s working greate!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Coote</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-column-filters/comment-page-1/#comment-30366</link>
		<dc:creator>Tom Coote</dc:creator>
		<pubDate>Mon, 28 Nov 2011 09:31:25 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=65#comment-30366</guid>
		<description>You would need to implement that in the plugin. In the function named runFilters you would need to test for those characters in the sFilterTxt variable. For example;

var gt = /^ *&gt;/ig.test(sFilterTxt);

Then if the user wants greater than a number you&#039;d have to change the test for a cell match to parsing the value to an integer and then running the comparison.</description>
		<content:encoded><![CDATA[<p>You would need to implement that in the plugin. In the function named runFilters you would need to test for those characters in the sFilterTxt variable. For example;</p>
<p>var gt = /^ *>/ig.test(sFilterTxt);</p>
<p>Then if the user wants greater than a number you&#8217;d have to change the test for a cell match to parsing the value to an integer and then running the comparison.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Coote</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-column-filters/comment-page-1/#comment-30365</link>
		<dc:creator>Tom Coote</dc:creator>
		<pubDate>Mon, 28 Nov 2011 09:26:55 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=65#comment-30365</guid>
		<description>Ah right. You would need to implement a callback function into the plugin. Put it as one of the options then call it after the filter has run. Then you can run the calculation in that function as it&#039;ll be called after the rows have been updated. It would be something like.

var total = 0;
$(&#039;table tbody tr:visible&#039;).each(function() { 
    total += parseInt($(&#039;td:eq(1)&#039;, this).text(), 10);
});</description>
		<content:encoded><![CDATA[<p>Ah right. You would need to implement a callback function into the plugin. Put it as one of the options then call it after the filter has run. Then you can run the calculation in that function as it&#8217;ll be called after the rows have been updated. It would be something like.</p>
<p>var total = 0;<br />
$(&#8216;table tbody tr:visible&#8217;).each(function() {<br />
    total += parseInt($(&#8216;td:eq(1)&#8217;, this).text(), 10);<br />
});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikolay</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-column-filters/comment-page-1/#comment-30327</link>
		<dc:creator>Nikolay</dc:creator>
		<pubDate>Mon, 28 Nov 2011 05:24:51 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=65#comment-30327</guid>
		<description>I mean, that when one column in my table conteins numeric values and i want find sum of this values every time when change filter.</description>
		<content:encoded><![CDATA[<p>I mean, that when one column in my table conteins numeric values and i want find sum of this values every time when change filter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kfk</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-column-filters/comment-page-1/#comment-29831</link>
		<dc:creator>kfk</dc:creator>
		<pubDate>Fri, 25 Nov 2011 09:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=65#comment-29831</guid>
		<description>Hello Tom,

great plugin. I am a newbie in javascript, could help me out in adding the &quot;&quot; operators? This would be super cool to filter data columns (i.e. the customers that bough more than 1000).</description>
		<content:encoded><![CDATA[<p>Hello Tom,</p>
<p>great plugin. I am a newbie in javascript, could help me out in adding the &#8220;&#8221; operators? This would be super cool to filter data columns (i.e. the customers that bough more than 1000).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Coote</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-column-filters/comment-page-1/#comment-29651</link>
		<dc:creator>Tom Coote</dc:creator>
		<pubDate>Thu, 24 Nov 2011 12:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=65#comment-29651</guid>
		<description>Thanks. Not quite sure what you mean?</description>
		<content:encoded><![CDATA[<p>Thanks. Not quite sure what you mean?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

