<?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>Ajax Updates &#187; table grid</title>
	<atom:link href="http://www.ajaxupdates.com/tag/table-grid/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ajaxupdates.com</link>
	<description>Latest Ajax Scripts, Examples, News and other Ajax related stuff</description>
	<lastBuildDate>Fri, 12 Feb 2010 12:46:54 +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>Tablecloth : Style your Tables</title>
		<link>http://www.ajaxupdates.com/tablecloth-style-your-tables/</link>
		<comments>http://www.ajaxupdates.com/tablecloth-style-your-tables/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 15:44:09 +0000</pubDate>
		<dc:creator>alyaspk</dc:creator>
				<category><![CDATA[Ajax Scripts]]></category>
		<category><![CDATA[Ajax Tables]]></category>
		<category><![CDATA[table behaviour]]></category>
		<category><![CDATA[table clothes]]></category>
		<category><![CDATA[table elements]]></category>
		<category><![CDATA[table grid]]></category>
		<category><![CDATA[Table Html]]></category>
		<category><![CDATA[table style]]></category>
		<category><![CDATA[table styles]]></category>
		<category><![CDATA[Tablecloth]]></category>

		<guid isPermaLink="false">http://www.ajaxupdates.com/?p=2036</guid>
		<description><![CDATA[Tablecloth is lightweight, easy to use, unobtrusive way to add style and behaviour to your html table elements. By simply adding 2 lines of code to your html page you will have styled and active tables that your visitors will love   Try to mouseover or click on a table below.
 Tables are often [...]


Related Listings:<ol><li><a href='http://www.ajaxupdates.com/tables-with-style-css/' rel='bookmark' title='Permanent Link: Tables with Style CSS'>Tables with Style CSS</a> <small>It might not seem like it but styling tabular data...</small></li>
<li><a href='http://www.ajaxupdates.com/teditable-in-place-editing-for-tables/' rel='bookmark' title='Permanent Link: tEditable : In place Editing for Tables'>tEditable : In place Editing for Tables</a> <small>A jQuery plugin (based heavily on jEditable) that allows cells...</small></li>
<li><a href='http://www.ajaxupdates.com/create-advanced-html-tables-using-tablegear/' rel='bookmark' title='Permanent Link: Create advanced html Tables using TableGear'>Create advanced html Tables using TableGear</a> <small>Tables are a very important part of HTML, but they...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Tablecloth is lightweight, easy to use, unobtrusive way to add style and behaviour to your html table elements. By simply adding 2 lines of code to your html page you will have styled and active tables that your visitors will love <img src='http://www.ajaxupdates.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Try to mouseover or click on a table below.</p>
<p> Tables are often misused by non-standards savvy developers and have become a subject of arguments between table layout coders and standardistas. Tables in html do have great significance in their primary role and that&#8217;s &#8211; displaying tabular data. Tablecloth is meant for proper usage of tables only. Used on table-based layouts it will cause more headache then the layout itself. Befor using tablecloth make sure that you don&#8217;t use tables for anything else but tabular data.<br />
Features</p>
<p>Tablecloth takes bare, well formed table and applies styling and behaviour to it. It searches your html source for table elements and process each one. Oh, yes there&#8217;s absolutely no need for hardcoded class names or id&#8217;s. Tablecloth adds those automatically. However, if you wish, you can apply your own class names without fear of them being run over.<br />
It features:</p>
<p>    * Adding even/odd class names to alternative rows.<br />
    * Adding over and out class names for mouse over and mouse out states.<br />
    * If set to true Tablecloth will highlight rows or columns (or both).<br />
    * If set to true Tablecloth adds selected state on click. Based on preferences it then selects rows or columns (or both). Unselect elements by clicking anywhere on the page.<br />
    * It leaves room for your upgrade. It has easily editable function that is called when you click on table cell that you can use for your own code..</p>
<p><strong>Usage</strong></p>
<p>To use Tablecloth you will need a well formed table. Your table should look like this:</p>
<pre class="brush: html">&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
	&lt;tr&gt;
		&lt;th&gt;Title&lt;/th&gt;
		&lt;th&gt;Title&lt;/th&gt;
		&lt;th&gt;Title&lt;/th&gt;
		&lt;th&gt;Title&lt;/th&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;Data&lt;/td&gt;
		&lt;td&gt;Data&lt;/td&gt;
		&lt;td&gt;Data&lt;/td&gt;
		&lt;td&gt;Data&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;Data&lt;/td&gt;
		&lt;td&gt;Data&lt;/td&gt;
		&lt;td&gt;Data&lt;/td&gt;
		&lt;td&gt;Data&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;Data&lt;/td&gt;
		&lt;td&gt;Data&lt;/td&gt;
		&lt;td&gt;Data&lt;/td&gt;
		&lt;td&gt;Data&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
</pre>
<p>Download the zip file, unpack it and put the folder named &#8220;tablecloth&#8221; in your site&#8217;s root.<br />
Add this two lines of code inside your <head> tag.</p>
<pre class="brush: html">
&lt;link href=&quot;tablecloth/tablecloth.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;tablecloth/tablecloth.js&quot;&gt;&lt;/script&gt;
</pre>
<p>and you are ready to rock.<br />
Modifications</p>
<p>Apearance modification is performed with css file tablecloth.css. Tablecloth enables you to style even and odd rows, and over, out, down and selected state for table elements (th and td), Apart from that, you are able to select whether you want to highlight columns, rows or both and if you want elements to be selected on click. It is done by modifying values of 3 variables found in tablecloth.js : highlightCols, highlightRows and selectable. Set the values to either true or false. Change settings for following examples to see the difference.</p>
<p>Demo: <a href="http://cssglobe.com/lab/tablecloth/">http://cssglobe.com/lab/tablecloth/</a><br />
Download: <a href="http://cssglobe.com/lab/tablecloth/tablecloth_files.zip">http://cssglobe.com/lab/tablecloth/tablecloth_files.zip</a><br />
Source: <a href="http://cssglobe.com/lab/tablecloth/">http://cssglobe.com/lab/tablecloth/</a></head></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fwww.ajaxupdates.com%2Ftablecloth-style-your-tables%2F', 'Tablecloth+%3A+Style+your+Tables')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fwww.ajaxupdates.com%2Ftablecloth-style-your-tables%2F', title: '+Tablecloth+%3A+Style+your+Tables+' })"/></div>

<p>Related Listings:<ol><li><a href='http://www.ajaxupdates.com/tables-with-style-css/' rel='bookmark' title='Permanent Link: Tables with Style CSS'>Tables with Style CSS</a> <small>It might not seem like it but styling tabular data...</small></li>
<li><a href='http://www.ajaxupdates.com/teditable-in-place-editing-for-tables/' rel='bookmark' title='Permanent Link: tEditable : In place Editing for Tables'>tEditable : In place Editing for Tables</a> <small>A jQuery plugin (based heavily on jEditable) that allows cells...</small></li>
<li><a href='http://www.ajaxupdates.com/create-advanced-html-tables-using-tablegear/' rel='bookmark' title='Permanent Link: Create advanced html Tables using TableGear'>Create advanced html Tables using TableGear</a> <small>Tables are a very important part of HTML, but they...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ajaxupdates.com/tablecloth-style-your-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->