<?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">
    <channel>
        <title>DataTables 1.9 — DataTables forums</title>
        <link>https://datatables.net/forums/</link>
        <pubDate>Tue, 09 Jun 2026 23:33:44 +0000</pubDate>
        <language>en</language>
            <description>DataTables 1.9 — DataTables forums</description>
    <language>en</language>
    <atom:link href="https://datatables.net/forums/categories/datatables-1-9/p14/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>server-side processing</title>
        <link>https://datatables.net/forums/discussion/19511/server-side-processing</link>
        <pubDate>Sat, 15 Feb 2014 11:54:13 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>jkmetko</dc:creator>
        <guid isPermaLink="false">19511@/forums/discussions</guid>
        <description><![CDATA[Hi guys,<br />
I'm stucked on server-side processing for two days and can't figure out any other solution which might work.<br />
I'm constantly getting this error: "Cannot read property 'asSorting' of undefined".<br />
<br />
PHP script downloaded from example works fine, so the table should.<br />
Here's the code:<br />
<br />
[code]<br />
function dataTable( id, destination ){<br />
	<br />
		this.id = id;<br />
		this.destination = destination;<br />
		this.drawHeader = drawHeader;<br />
		this.drawFooter = drawFooter;<br />
		this.activateDataTable = activateDataTable;<br />
		<br />
		table  = '';<br />
		table += '';<br />
		table += '';<br />
		table += '	';<br />
		table += '		';<br />
		table += '		';<br />
		table += 	'';<br />
		table += '	';<br />
		table += '	';<br />
		table += '	';<br />
		table += '		';<br />
		table += '		';<br />
		table += '	';<br />
		table += '';<br />
			<br />
		//DRAW TABLE<br />
		destination.append( table );<br />
		this.drawHeader();<br />
		this.drawFooter();<br />
		this.activateDataTable();<br />
		<br />
		//DRAW HEADER<br />
		function drawHeader(){<br />
			var header = $('#'+ this.id +'-header');<br />
			<br />
			$.ajax({ url: 'php/app/ajax-table-getHeader.php',<br />
				data: { request: 'drawHeader' },<br />
				type: 'POST',<br />
				success: function(output) {<br />
						header.append( output );<br />
					}<br />
				});<br />
		};	<br />
		<br />
		//DRAW FOOTER<br />
		function drawFooter(){<br />
			var footer = $('#'+ this.id +'-footer');<br />
			<br />
			$.ajax({ url: 'php/app/ajax-table-getHeader.php',<br />
				data: { request: 'drawFooter' },<br />
				type: 'POST',<br />
				success: function(output) {<br />
						footer.append( output );<br />
					}<br />
				});<br />
		};<br />
		<br />
		//ACTIVATE DATA TABLE<br />
		function activateDataTable(){<br />
			var oTable = $('#'+this.id).dataTable( {<br />
				"bProcessing": true,<br />
				"bServerSide": true,<br />
				"sAjaxSource": "../../php/app/ajax-test.php"<br />
			} );<br />
			<br />
		};<br />
		<br />
	}<br />
	<br />
	$(function(){<br />
		flightsTable = new dataTable( "flightsTable", $("#widget-flightsTable") );	<br />
	})<br />
[/code]<br />
<br />
Thank you all for advices.<br />
Have a nice day!]]>
        </description>
    </item>
    <item>
        <title>Getting aoData null exception</title>
        <link>https://datatables.net/forums/discussion/19529/getting-aodata-null-exception</link>
        <pubDate>Mon, 17 Feb 2014 10:18:48 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>viraj_viru</dc:creator>
        <guid isPermaLink="false">19529@/forums/discussions</guid>
        <description><![CDATA[Hello all, I m using datatable in my MVC project. I have rendered datatable into pop up dialog and it is working fine for first time, when I close the pop up dialogue and open it again the datatable is rendering perfectly but when I click on row it gives me aoData not fount exception. After long search I found that the datatable which passed on row click and the datatable which rendered has some difference. Can any body help me on this problem?]]>
        </description>
    </item>
    <item>
        <title>bFilter does not filter new cells</title>
        <link>https://datatables.net/forums/discussion/19493/bfilter-does-not-filter-new-cells</link>
        <pubDate>Fri, 14 Feb 2014 04:02:43 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>kaippally</dc:creator>
        <guid isPermaLink="false">19493@/forums/discussions</guid>
        <description><![CDATA[I have a HTML table with some rows of data. I then update some cells via AJAX, but the new cells are not being filtered. <br />
<br />
Please help.]]>
        </description>
    </item>
    <item>
        <title>how to always show a fixed number of rows</title>
        <link>https://datatables.net/forums/discussion/19437/how-to-always-show-a-fixed-number-of-rows</link>
        <pubDate>Mon, 10 Feb 2014 17:02:14 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>visceralist</dc:creator>
        <guid isPermaLink="false">19437@/forums/discussions</guid>
        <description><![CDATA[Hi Allan<br />
<br />
I hope you are well. <br />
listen, I am trying to figure out something with the datatable that I didnt see an API hook for. My table viewport adjusts its height as the window resolution changes. that's all cool.<br />
<br />
what I need to figure out is how to always show a fixed number of rows inside the view port; I don't actually care what that fixed number is; it can show whatever it was going to fit in that viewport height anyway. what I am trying to prevent is the scenario where a row at the most bottom is shown partially: half of the row is show and the other half isn't - you'd have to scroll up a little bit to show it fully; I need to figure out so what viewport height changes, it fits n number of rows without partials.<br />
<br />
any input on this?<br />
cheers mate, thank you]]>
        </description>
    </item>
    <item>
        <title>Floating and dynamically resizing input fields above their respective columns</title>
        <link>https://datatables.net/forums/discussion/19448/floating-and-dynamically-resizing-input-fields-above-their-respective-columns</link>
        <pubDate>Tue, 11 Feb 2014 20:37:48 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>mrashkovsky</dc:creator>
        <guid isPermaLink="false">19448@/forums/discussions</guid>
        <description><![CDATA[Is there a recommended solution for having input fields on a per-column basis, and having those filter fields stay above each column and resize dynamically with the columns? I've implemented something using jqueryui's position functionality ( http://jqueryui.com/position/ ) but just wondering if there are any other good solutions for this problem. <br />
<br />
The test case would be when resizing the window, or paging through data that changes the widths of the columns, that the filter fields should resize their widths automatically. Also that when the page loads the filter fields position themselves right above each column.]]>
        </description>
    </item>
    <item>
        <title>Filter doubts</title>
        <link>https://datatables.net/forums/discussion/19498/filter-doubts</link>
        <pubDate>Fri, 14 Feb 2014 14:00:29 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>matheusrocha89</dc:creator>
        <guid isPermaLink="false">19498@/forums/discussions</guid>
        <description><![CDATA[I created a table with some sample datas that I created and initialize the dataTable...amazing, everything works GREAT! But I have a doubt, imagine that in one column I have 3 kind of data: VIP, Regular and Trial...Is there some way in the search input I write something like this: "VIP Regular" and the dataTable filter rows of both values? I tried but didn't work cause the dataTable tried to find the column that have both values together.]]>
        </description>
    </item>
    <item>
        <title>Two oSettings object instance in table it's correct?</title>
        <link>https://datatables.net/forums/discussion/19475/two-osettings-object-instance-in-table-its-correct</link>
        <pubDate>Thu, 13 Feb 2014 07:51:50 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>ColorAnt</dc:creator>
        <guid isPermaLink="false">19475@/forums/discussions</guid>
        <description><![CDATA[Hi, all.<br />
First, sorry for my English.<br />
My problem:<br />
I update dT from 1.8.2 to 1.9.4 and discover what my dataTables object which I save as<br />
[code]var table = $("#kdl-profile-table").dataTable({[/code]<br />
,and which I use below in my functions,<br />
have two instance table.dataTableSettings [0] and [1].<br />
<br />
Its correct behaviour? I'm not see it early.]]>
        </description>
    </item>
    <item>
        <title>Keyboard Navigation - have to tab through the empty  created inside 'dataTables_scrollBody'</title>
        <link>https://datatables.net/forums/discussion/19442/keyboard-navigation-have-to-tab-through-the-empty-created-inside-datatables-scrollbody</link>
        <pubDate>Tue, 11 Feb 2014 06:15:32 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>deepugn</dc:creator>
        <guid isPermaLink="false">19442@/forums/discussions</guid>
        <description><![CDATA[Hi, <br />
I was working on keyboard accessibility in a application using datatables, but came through the issue of an empty  in the case of scroll, and i am forced to tab through the empty theads a number of times equal to the number of columns.<br />
<br />
http://datatables.net/forums/discussion/2765/a-side-effect-of-vertical-scroll-feature-creating-two-thead-sections/p1<br />
<br />
How can i get around this by setting the tabindex of only the empty  to -1 ?<br />
<br />
Best Regards,<br />
Deepu.]]>
        </description>
    </item>
    <item>
        <title>Getting started</title>
        <link>https://datatables.net/forums/discussion/19454/getting-started</link>
        <pubDate>Wed, 12 Feb 2014 00:54:18 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>jackrisk</dc:creator>
        <guid isPermaLink="false">19454@/forums/discussions</guid>
        <description><![CDATA[I'm sure my problem is very basic but I would appreciate your help. I have little knowledge of jQuery. Your debugger tells me that js is not running on my page: http://www.jackrisk.ca/MeditationBibliography.html. <br />
<br />
I copied the expanded files to my website and I have uploaded all new files. <br />
<br />
Here is the scripting I have in the head:<br />
<br />
  &lt;!-- InstanceBeginEditable name="head" --&gt;<br />
<br />
&lt;!-- DataTables CSS --&gt;<br />
<br />
 <br />
&lt;!-- jQuery --&gt;<br />
<br />
 <br />
&lt;!-- DataTables --&gt;<br />
<br />
<br />
<br />
  $(document).ready( function () {<br />
	  $('#MeditationBibliography').DataTable();<br />
  } );<br />
<br />
<br />
&lt;!-- InstanceEndEditable --&gt;]]>
        </description>
    </item>
    <item>
        <title>How to use horizontal and vertical scrolling with server side processing ?</title>
        <link>https://datatables.net/forums/discussion/19338/how-to-use-horizontal-and-vertical-scrolling-with-server-side-processing</link>
        <pubDate>Tue, 04 Feb 2014 08:35:10 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>kavittp</dc:creator>
        <guid isPermaLink="false">19338@/forums/discussions</guid>
        <description><![CDATA[Dear Allan,<br />
I am using 'Datatable Jquery plugin' with server side processing in my application. Now i want to use Horizontal and Vertical Scroll Bars in the datatable.<br />
So to implement this, i used 'sScrollX', 'sScrollXInner' and 'sScrollY' in datatable code (as mentioned below) :<br />
[code]<br />
"sScrollX": "100%",<br />
 "sScrollXInner": "110%",<br />
  "sScrollY": 200,<br />
[/code]<br />
<br />
after this, when i executed my application...the data did not come in datatable and an error occured in browser like "Object doesn't support this property or method" and its indicating error in 'jquery.dataTables.js' javascript file.<br />
<br />
Here I am sharing the URL of screenshots of datatable and error occured respectively :<br />
<br />
Below URL shows the datatable, where data didn't came and scrollbars also not showing in a proper way.<br />
https://www.evernote.com/shard/s378/sh/f6545ba1-e13d-4c74-9601-3792359d4a72/d2a2db7469692312ebdb4d07fd94871b<br />
<br />
Below URL shows the error, which comes when datatable initialised.<br />
https://www.evernote.com/shard/s378/sh/8a522ebb-77eb-43a2-a31c-d8ca767eaf00/8beec6f04df61be6babbca1c2ce6bd5b<br />
<br />
Below are the javascript and HTML Code what we are using in my application :<br />
<br />
Javascript Code :<br />
<br />
[code]<br />
<br />
<br />
	<br />
	  $(document).ready(function() <br />
	  {<br />
	  <br />
	  	TableTools.BUTTONS.download = {<br />
		"sAction": "text",<br />
		"sTag": "default",<br />
	        "sFieldBoundary": "",<br />
		"sFieldSeperator": "\t",<br />
		"sNewLine": "<br />
",<br />
		"sToolTip": "Download Excel",<br />
		"sButtonClass": "DTTT_button_xls",    //eariler was "DTTT_button_text"<br />
		"sButtonClassHover": "DTTT_button_xls_hover",   //earlier was "DTTT_button_text_hover"<br />
		"sButtonText": "Download",<br />
		"mColumns": "all",<br />
		 "bHeader": true,<br />
		 "bFooter": true,<br />
		"sDiv": "",<br />
		 "fnMouseover": null,<br />
		 "fnMouseout": null,<br />
		"fnClick": function( nButton, oConfig ) {<br />
      		var oParams = this.s.dt.oApi._fnAjaxParameters( this.s.dt );<br />
    		var iframe = document.createElement('iframe');<br />
    		iframe.style.height = "0px";<br />
    		iframe.style.width = "0px";<br />
    		iframe.src = oConfig.sUrl+"?"+$.param(oParams);<br />
    		document.body.appendChild( iframe );<br />
    		},<br />
    		"fnSelect": null,<br />
    		"fnComplete": null,<br />
    		"fnInit": null<br />
		<br />
		 };<br />
	  <br />
	  <br />
		<br />
		$('#id_submit').click(function() {<br />
						<br />
		$("#prepack").dataTable({<br />
			"bDestroy":true,<br />
			"bRetrieve": false,<br />
            		"bJQueryUI": true,<br />
                	"bServerSide": true,<br />
                	"bAutoWidth": true,<br />
                	"sAjaxSource": "/demo_trial_application/DatasourceGsonServlet",  <br />
                	"bProcessing": true,<br />
                	"sPaginationType": "full_numbers", <br />
                	"sScrollX": "100%",<br />
                	"sScrollXInner": "110%",<br />
                	"sScrollY": 200,<br />
                	"sDom": 'T&lt;"clear"&gt;lfrtip',   <br />
                	   "oTableTools": {<br />
                	   "aButtons": [ "copy","csv","xls","pdf"],<br />
                           "sSwfPath": "./table_tool2.0/media/swf/copy_cvs_xls_pdf.swf"<br />
				},<br />
			"aaSorting":[[0,'desc']]<br />
                <br />
            	});	<br />
            		<br />
			});<br />
	<br />
		<br />
		<br />
	  });	<br />
	<br />
		 <br />
	<br />
	<br />
<br />
[/code]<br />
<br />
<br />
HTML Code :<br />
<br />
[code]<br />
<br />
<br />
<br />
	<br />
	<br />
<br />
	<br />
<br />
<br />
	<br />
		<br />
		<br />
		    <br />
                            <br />
				Site_id<br />
				Low_ord_srl_no<br />
				Start Date<br />
				Pass Flag<br />
				Emp_no<br />
				Last Update <br />
				ETL_batch_id <br />
					<br />
		<br />
				<br />
		<br />
			<br />
				Loading Data From Server...   <br />
			<br />
					<br />
		<br />
		<br />
		<br />
								<br />
	<br />
<br />
<br />
<br />
<br />
[/code]<br />
<br />
Please tell me if anything wrong in above mentioned code...I am getting error (as mentioned) at the time of server side processing..hence scroll bar not showing and data are also not coming..<br />
<br />
Please help me to sort out these issue...it very much urgent for my application.<br />
<br />
Thanks in advance.. :)]]>
        </description>
    </item>
    <item>
        <title>DataTables could not be implemented in repeating tables</title>
        <link>https://datatables.net/forums/discussion/19458/datatables-could-not-be-implemented-in-repeating-tables</link>
        <pubDate>Wed, 12 Feb 2014 06:51:47 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>mfaizmzaki</dc:creator>
        <guid isPermaLink="false">19458@/forums/discussions</guid>
        <description><![CDATA[Hello, I have the following code (table_view.php) which serves as the default table for the site. All data in the site that is to be represented in a table will be calling the function from table_view.php. Meaning to say, it could be called repeatedly by different datasets. For instance, on a page, there could be 5 different tables with 5 different datasets but all calling from the same function. This will make all the tables having the same table id (since it is called from the same file table-view.php)<br />
<br />
[code]<br />
&lt;!DOCTYPE html&gt;<br />
<br />
	<br />
 <br />
	<br />
	<br />
<br />
<br />
<br />
<br />
&lt;?php<br />
$row_id="";<br />
if($_GET['page']==1 || isset($_GET['page'])==false){<br />
	$row_id=1;<br />
}elseif (isset($_GET['page']) &amp;&amp; $_GET['page']&gt;1) {<br />
	$row_id=($_GET['page']-1)."1";<br />
}<br />
<br />
$doc = JFactory::getDocument();<br />
<br />
$doc-&gt;addScript('http://code.jquery.com/jquery-1.11.0.min.js');<br />
$doc-&gt;addScript('http://datatables.net/download/build/nightly/jquery.dataTables.js');<br />
<br />
$doc-&gt;addScriptDeclaration('<br />
    jQuery(document).ready( function () {<br />
        jQuery("#main-table").DataTable();<br />
    });<br />
');<br />
?&gt;<br />
&lt;?php echo $this-&gt;title ?&gt;<br />
<br />
tableWidth)) echo 'width="'.$this-&gt;tableWidth.'"';?&gt; &gt;<br />
<br />
  &lt;?php <br />
  if(!$this-&gt;hideHeaderTable)<br />
  {<br />
	  <br />
	  if($_GET['t']!='maklumat_ringkas'){<br />
	  echo "Bil";<br />
	  }<br />
	  <br />
	 <br />
	  foreach($this-&gt;tableData[0] as $key=&gt;$tableHeader)<br />
	  {<br />
		  ?&gt;<br />
		&lt;?php echo $this-&gt;tableData[0][$key] ?&gt;<br />
		&lt;?php<br />
	  }<br />
	  ?&gt;<br />
	  <br />
      <br />
  &lt;?php<br />
  }<br />
  <br />
  <br />
  $lenData = count($this-&gt;tableData);<br />
  <br />
  for ($j=3;$j &lt; $lenData; ++$j)<br />
  {<br />
	  ?&gt;<br />
	  &gt;&lt;?php if($_GET['t']!='maklumat_ringkas'){echo "".$row_id++."";}?&gt;<br />
		  &lt;?php <br />
          foreach($this-&gt;tableData[0] as $key=&gt;$tableHeader)<br />
          {<br />
              ?&gt;<br />
            tableData[2][$key] ?&gt;&gt;&lt;?php echo stripslashes($this-&gt;tableData[$j][$key]) ?&gt;<br />
            &lt;?php<br />
          }<br />
          ?&gt;<br />
	  <br />
	  &lt;?php<br />
  }<br />
  <br />
  ?&gt;<br />
 &lt;!-- <br />
    JUMLAH<br />
     <br />
     <br />
  --&gt;<br />
<br />
<br />
<br />
[/code]<br />
<br />
However, I only managed to implement DataTables on the first occuring table. The remaining tables remain  the same without DataTables. How can I implement DataTables on all of the tables on the page since they've all got the same table id?]]>
        </description>
    </item>
    <item>
        <title>DataTables Ajax + php +mysql</title>
        <link>https://datatables.net/forums/discussion/19450/datatables-ajax-php-mysql</link>
        <pubDate>Tue, 11 Feb 2014 21:12:53 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>pipechaves</dc:creator>
        <guid isPermaLink="false">19450@/forums/discussions</guid>
        <description><![CDATA[Hi Guys<br />
<br />
Im really really new on DATATABLES<br />
<br />
Im trying to pull out some information from mySQLDB  in order to use Datatables, without success.........<br />
<br />
I tried to follow the example that shows a biiiiiiiiiiiiig script at  http://datatables.net/examples/data_sources/server_side.html<br />
but I wasnt able to get any result data.<br />
<br />
So for example got a DB students with score and name. &lt;--my php should do the query and<br />
<br />
-------------<br />
so to get the json should it be on the php side?<br />
-------------<br />
mysql lets say its select * from students;&lt;--does work returns results<br />
<br />
$row = array();<br />
	while ( $aRow = mysqli_fetch_array( $rResult ) )<br />
	{<br />
		 $row[] = $aRow["name"];<br />
		 $row[]=$aRow["score"];       <br />
    }<br />
    $output['aaData'][] = $row;<br />
echo json_encode($output);<br />
<br />
-------------------------------------<br />
-------------------------------------<br />
<br />
on my html on the  area I have<br />
<br />
$(document).ready(function(){<br />
$('#example').dataTable( {<br />
		"bProcessing": true,<br />
		"bServerSide": true,<br />
		"sAjaxSource": "myphp.php"<br />
	} );<br />
{);<br />
<br />
and in the Body I got <br />
<br />
<br />
<br />
<br />
What Im I doing wrong ??]]>
        </description>
    </item>
    <item>
        <title>Multiple linked datatables</title>
        <link>https://datatables.net/forums/discussion/19440/multiple-linked-datatables</link>
        <pubDate>Tue, 11 Feb 2014 00:05:53 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>ashok84munna</dc:creator>
        <guid isPermaLink="false">19440@/forums/discussions</guid>
        <description><![CDATA[This is related to the thread http://datatables.net/forums/discussion/211/i-want-create-two-linked-datatables/p1, but a variant of it.<br />
<br />
I have 2 datatables in the same page. <br />
Datatable 1 - I have made one of the columns, a link which will call another javascript function with a parameter (the value of the column).<br />
The javascript function makes creates datatable #2 in the same page using sAjaxSource using the parameter passed in.<br />
<br />
Example to relate: <br />
Datatable #1: List of all the companies<br />
Datatable #2: List of all employees for each company. The CompanyId is the clickable field in datatable #1, and on click it loads the datatable #2 with only the employees of that company..<br />
<br />
Issue: <br />
The issue that i am facing is, when i click on a link in datatable #1, it loads datatable #2 fine. But, it does not refresh the data which i click on other links.<br />
<br />
Any references would be greatly appreciated.<br />
<br />
Thanks.]]>
        </description>
    </item>
    <item>
        <title>Can't select rows on 1+ pages</title>
        <link>https://datatables.net/forums/discussion/19408/cant-select-rows-on-1-pages</link>
        <pubDate>Fri, 07 Feb 2014 21:54:55 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>maykino</dc:creator>
        <guid isPermaLink="false">19408@/forums/discussions</guid>
        <description><![CDATA[Selecting rows works only on the first loaded page. When I go to 2, 3 etc it doesn't select anything. When I select to show more records at once from the dropdown, it allows to only select the first 25. <br />
<br />
HEre is the debug: <br />
http://debug.datatables.net/uzicij]]>
        </description>
    </item>
    <item>
        <title>Dynamic option name upon table initialization</title>
        <link>https://datatables.net/forums/discussion/19400/dynamic-option-name-upon-table-initialization</link>
        <pubDate>Fri, 07 Feb 2014 10:50:18 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>ludalex</dc:creator>
        <guid isPermaLink="false">19400@/forums/discussions</guid>
        <description><![CDATA[Hello everyone, <br />
<br />
I'm trying to write a function that loads the table with different sources (ajax/javascript array) dynamically.<br />
Instead of writing the code to initialize the table twice in a conditional statment, I'd like to have the "source" option of the DataTable to come from a variable, as shown in this example: <br />
<br />
[code]<br />
if (navigator.onLine)<br />
	source_ = 'sAjaxSource'<br />
else<br />
	source_ = 'aaData'<br />
<br />
oTable = $('#table').dataTable({<br />
<br />
	"sDom": 'Tfrt',<br />
	source_: data<br />
<br />
})<br />
[/code]<br />
<br />
It doesn't work as expected tough, any suggestions?<br />
<br />
I know 'data' variable is not defined and the actual data source is not my problem as if I put a string like "aaData" instead of 'source_' (the option name) it works.<br />
<br />
Thanks in advance]]>
        </description>
    </item>
    <item>
        <title>how to reorder the index column after deleting from the table ?</title>
        <link>https://datatables.net/forums/discussion/19431/how-to-reorder-the-index-column-after-deleting-from-the-table</link>
        <pubDate>Mon, 10 Feb 2014 11:22:10 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>kailasapu</dc:creator>
        <guid isPermaLink="false">19431@/forums/discussions</guid>
        <description><![CDATA[oTable=$('#myTable').dataTable( {<br />
	    			"fnDrawCallback": fnOpenClose,<br />
	    			"aaSorting": [[ 1, 'asc' ]],<br />
	    	    		  "bSortClasses": false,<br />
		   				"sDom": '&lt;"top"f&gt;rt&lt;"bottom"ilp&gt;&lt;"clear"&gt;',<br />
		   				columns: ['', 'No'],<br />
		   			 	"aoColumnDefs": [<br />
		   			               { 'bSortable': false, 'aTargets': [ 0 ] }<br />
		   			            ]} );<br />
	    		function fnOpenClose( oSettings ) {<br />
    				/* Need to redo the counters if filtered or sorted */<br />
    				if ( oSettings.bSorted || oSettings.bFiltered )<br />
    				{<br />
    					for ( var i=0, iLen=oSettings.aiDisplay.length ; i]]>
        </description>
    </item>
    <item>
        <title>Datatable in ASP.NET ListView sending all rows (including hiddenrows) to server side</title>
        <link>https://datatables.net/forums/discussion/19428/datatable-in-asp-net-listview-sending-all-rows-including-hiddenrows-to-server-side</link>
        <pubDate>Mon, 10 Feb 2014 05:50:40 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>atharun</dc:creator>
        <guid isPermaLink="false">19428@/forums/discussions</guid>
        <description><![CDATA[Hi,<br />
      i am using datatable for table inside my ASP.NET ListView. this table has multiple rows and multiple pages. on click of a button i want to send all the rows in the listview to server side code. <br />
  <br />
    on click of the button i am able to get the hidden rows using fnGetHiddenNodes() method.<br />
<br />
i dont know to which i have to append to, so that all the rows are available in the server side.]]>
        </description>
    </item>
    <item>
        <title>having trouble POSTing fnGetData to cgi script using ajax</title>
        <link>https://datatables.net/forums/discussion/19411/having-trouble-posting-fngetdata-to-cgi-script-using-ajax</link>
        <pubDate>Sat, 08 Feb 2014 00:31:03 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>bigsipper</dc:creator>
        <guid isPermaLink="false">19411@/forums/discussions</guid>
        <description><![CDATA[I want to pass DataTable contents to a cgi-bin script. I figured I would make one big object, and use fnGetData to store the table in the object - then pass the whole object using ajax POST.<br />
<br />
Odd thing is that the DataTable rows are not being sent as an array, but as individual 'keys':<br />
<br />
Parameters at the time I POST:<br />
function	drc<br />
notify	<br />
requests[0][]	-1<br />
requests[0][]	ass asdfasdf sadfaf sadfasfdf sasdf sad safdasdfaf sffadfasddfs a sadfsadfa f sd .<br />
requests[0][]	*<br />
requests[0][]	02/13/2014<br />
requests[0][]	05/09/2014<br />
technology	tsmc28hpm<br />
tfid	undefined<br />
<br />
So in my cgi-bin program I can print:<br />
[code]<br />
 $params{'requests[0][]'}<br />
 params{'requests[0][]'} = ARRAY(0x10520130)<br />
<br />
[/code]<br />
but can't print what I expected: <br />
[code]<br />
 $params{'requests'}[0]<br />
  params{'requests'}[0] = <br />
[/code]<br />
<br />
Here's how I send the data... what gives?  I don't understand why the DataTable rows are not being encoded as arrays of arrays and passed to my program as such - so I can loop through the rows and columns in order to do some processing.<br />
<br />
[code]<br />
   $("#btnsave").on( 'click', function(e){ <br />
        // Need to pass existing table data to cgi....<br />
        // using ajax to POST the table data in JSON format.<br />
        var id = ( tfid ? tfid : 'undefined' );<br />
        var aData = {};<br />
        aData["tfid"]       =   id;<br />
        aData["technology"] =   $('#technology').val();<br />
        aData["function"]   =   $('#function').val();<br />
        aData["notify"]     =   $('#notify').val();<br />
        aData["requests"]   =   tableRequests.fnGetData(); <br />
        $.ajax({<br />
               type: "POST",<br />
               url: "cgi-bin/save.cgi",<br />
               data: aData,<br />
               dataType: "json",<br />
               cache: false,<br />
               success: function(data){ console.log(data.msg); },<br />
               error  : function(e, t, r ) { <br />
                  alert("Error: " + r + " While calling cgi-bin/save.cgi. " + (e.responseText?e.responseText:'')); <br />
                  },<br />
             });<br />
        return false;<br />
   });<br />
[/code]<br />
<br />
<br />
fiddle here:  http://jsfiddle.net/tPtm5/]]>
        </description>
    </item>
    <item>
        <title>Data Table basic configuration and style</title>
        <link>https://datatables.net/forums/discussion/19388/data-table-basic-configuration-and-style</link>
        <pubDate>Thu, 06 Feb 2014 15:33:05 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>midland</dc:creator>
        <guid isPermaLink="false">19388@/forums/discussions</guid>
        <description><![CDATA[Hi,<br />
<br />
I am new to MVC and almost zero experience with Jquery. I have downloaded DataTable 1.9.4 and was able to get "zero configuration" working. I read somewhere that the table should have alternate row colors and has table borders.  However, this is not for my table.  Another question is how to set column width.  My column headers and data cells are wrapped into multiple lines of text.  How do I make cells and headers single lines.  At this time, I want to have a simple table with alternate row color, table border, row/cell with single line of text.<br />
<br />
Your help in configuration and style is very much appreciated.  Any recommendation for a good tutorial for a beginner? <br />
<br />
Hugh<br />
<br />
Below is the code in Index.cshtml:<br />
<br />
@section scripts{<br />
    <br />
    <br />
    <br />
        $(document).ready(function () {<br />
            $('#myDataTable').dataTable(<br />
                {<br />
                    "bFilter":true,<br />
                    "bSort": true,<br />
                    "bInfo":false<br />
              });<br />
        });<br />
    <br />
}<br />
<br />
<br />
And for the table:<br />
<br />
 <br />
                <br />
                    <br />
                        column headers                        .<br />
                    <br />
                <br />
                <br />
                    @foreach (var item in Model)<br />
                    {<br />
                        data<br />
                    }]]>
        </description>
    </item>
    <item>
        <title>Slow col/row headers on x/y scroll on iOS7 devices</title>
        <link>https://datatables.net/forums/discussion/19404/slow-col-row-headers-on-x-y-scroll-on-ios7-devices</link>
        <pubDate>Fri, 07 Feb 2014 16:19:54 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>nhinze</dc:creator>
        <guid isPermaLink="false">19404@/forums/discussions</guid>
        <description><![CDATA[Hi,<br />
<br />
I have created a multi table page using DataTable 1.9.4 and FixedColumns 2.0.3. Works like a charm on Desktop, but it rather slow on iOS7 devices. Android devices seem to perform ok. When you try to scroll left or right on the tables on the page linked below, the row/col headers are really slow to follow on iOS7 devices.<br />
<br />
http://www.coursewalkapp.com/livescores/15563.html<br />
<br />
Interestingly, the DataTable example on the following URL is smooth on iOS7 devices.<br />
<br />
http://datatables.net/extras/fixedcolumns/<br />
<br />
How, can improve the performance? Is it due to having multiple tables?<br />
<br />
Thanks,<br />
<br />
Nick,]]>
        </description>
    </item>
    <item>
        <title>fnDraw not calling the Ajax source</title>
        <link>https://datatables.net/forums/discussion/19399/fndraw-not-calling-the-ajax-source</link>
        <pubDate>Fri, 07 Feb 2014 10:28:24 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>tsabz</dc:creator>
        <guid isPermaLink="false">19399@/forums/discussions</guid>
        <description><![CDATA[Hello,<br />
<br />
First of all, thanks for your plugin, it's very nice, usefull and quite easy to approach.<br />
<br />
My bug is the following : I'm drawing a table with a delete button on each row. My delete button is binded to an Ajax call that deletes my data in database, and then I want to reload manually the data on my table.<br />
<br />
Here's how I defined my table :<br />
<br />
[code]<br />
        var oTable = $('#dt_groups').dataTable({<br />
		'bServerside': true,<br />
		'sAjaxSource': 'my_page?group='+group,<br />
		'sAjaxDataProp': "",<br />
		'aoColumns':[<br />
			{<br />
				'mData':'column_1',<br />
				'sWidth': '20%',<br />
			},{<br />
				'mData':'column_2',<br />
				'sWidth': '50%',<br />
			},{<br />
				'mData':'column_3',<br />
				'sWidth': '10%',<br />
			},{<br />
				'mData':'column_4',<br />
				'sWidth': '10%',<br />
			},{<br />
				'mData': null,<br />
				'mRender':function(row, type, full) {<br />
					return '';<br />
				},<br />
				'sWidth': '5%',<br />
			},{<br />
				'mData': null,<br />
				'mRender':function(row, type, full) {<br />
					return '';<br />
				},<br />
				'sWidth': '5%',<br />
			}<br />
		],<br />
		"aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],<br />
		'iDisplayLength':25,<br />
		'fnCreatedRow': function(nRow, aData, iDataIndex) {<br />
			$(nRow).attr('data-lineid', aData['id']);<br />
			$(nRow).attr('id', 'groups');<br />
			$(nRow).attr('data-groupid', aData['id_group']);<br />
		},<br />
	});<br />
[/code]<br />
<br />
And here's my Ajax call to delete the row :<br />
<br />
[code]<br />
        $('#delete_group').live('click', function() {<br />
		var id_group = $(this).closest('tr').attr('data-groupid');<br />
		$.ajax({<br />
			type: 'POST',<br />
			url: 'my_page.php',<br />
			data: 'method=delete&amp;id_group='+id_group,<br />
			success:function(data) {<br />
				$('#dt_groups').dataTable()._fnDraw();<br />
			}<br />
		});<br />
	});<br />
[/code]<br />
<br />
The thing is, that the fnDraw function doesn't actually reload the data, and in the FF's console, I can' t see any GET call to my Ajax datasource.<br />
<br />
I tried with _fnAjaxUpdate() instead of _fnDraw() and there I can see my ajax call, but then I have this js error :<br />
<br />
[code]TypeError: aData is undefined[/code]<br />
<br />
I guess it has something to do with [code]'sAjaxDataProp': ""[/code] defined in my dataTable but I'm not that sure.<br />
<br />
Any clue ?]]>
        </description>
    </item>
    <item>
        <title>Want to add link to 1 column whilst using sql data</title>
        <link>https://datatables.net/forums/discussion/19378/want-to-add-link-to-1-column-whilst-using-sql-data</link>
        <pubDate>Thu, 06 Feb 2014 03:52:45 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>tgcowell</dc:creator>
        <guid isPermaLink="false">19378@/forums/discussions</guid>
        <description><![CDATA[Currently have a SQL db providing the data for my table. I want to add a link to 1 of the columns which will us the id column within the SQL db to send the user to a new page.<br />
<br />
Below is my HTML markup:<br />
<br />
[code]<br />
          <br />
            <br />
              Hospital Name<br />
              State<br />
              Status<br />
          <br />
<br />
          <br />
            Loading Data<br />
          <br />
<br />
          <br />
              Hospital Name<br />
              State<br />
              Status<br />
          <br />
<br />
<br />
          <br />
[/code]<br />
<br />
Now the Javascript<br />
<br />
[code]<br />
    <br />
      $(document).ready(function() {<br />
        $('#projects').dataTable( {<br />
          "bProcessing": true,<br />
          "bServerSide": true,<br />
          "sAjaxSource": "includes/server_processing_projects.php"<br />
            });<br />
        });<br />
<br />
    <br />
[/code]<br />
<br />
I want the link on the Hospital Name Column and the link to be like this<br />
<br />
[code]Hospital Name[/code]<br />
<br />
I'm new to web development and very much learning as I go, I've looked online regarding the mRender and mData which seem to be the solution... But I cannot figure out how it all works.<br />
<br />
There was also a post on fnRender which appears to no longer be in use, since upgrading the 1.9? <br />
<br />
Appreciate any assistance with this issue!<br />
<br />
Thanks<br />
Tim]]>
        </description>
    </item>
    <item>
        <title>Is there a callback that lets me take an action on old rows before they are removed from the DOM?</title>
        <link>https://datatables.net/forums/discussion/17640/is-there-a-callback-that-lets-me-take-an-action-on-old-rows-before-they-are-removed-from-the-dom</link>
        <pubDate>Wed, 02 Oct 2013 17:16:28 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>jeffreydwalter</dc:creator>
        <guid isPermaLink="false">17640@/forums/discussions</guid>
        <description><![CDATA[I have a dataTable that has select dropdowns in some of the table cells. I'm using the jQuery select2 plugin on those selects, and am seeing memory leaking when I refresh the dataTable. Because dataTables doesn't unbind all of the event handlers and doesn't destroy all the references to the old rows in _fnDraw(), I need some way to do this manually whenever I refresh the table, but I'm not sure about the best way to go about it.<br />
<br />
For now, I have hacked _fnDraw() to do the following:<br />
[code]<br />
/* When doing infinite scrolling, only remove child rows when sorting, filtering or start<br />
 * up. When not infinite scroll, always do it. <br />
 */  <br />
if ( !oSettings.oScroll.bInfinite || !oSettings._bInitComplete || oSettings.bSorted || oSettings.bFiltered )<br />
{   <br />
    while( (n = oSettings.nTBody.firstChild) )<br />
    {   <br />
        // HACK: Remove all event handlers from this row, any select2 objects, and finally call empty() just to be sure.<br />
        jQuery(n).off('*').find('div[id^=s2id]').select2('destroy').empty();<br />
        oSettings.nTBody.removeChild( n );<br />
    }   <br />
}<br />
[/code]<br />
<br />
I would like to be able to hook into a callback that happens on each of the rows to remove so that I can do this kind of cleanup to stop memory leaks. <br />
<br />
Is there something like this? If no, what's the best way to do this without hacking dataTables?]]>
        </description>
    </item>
    <item>
        <title>Can't figure out why sScrollY corrupts the Columns's size and alignement</title>
        <link>https://datatables.net/forums/discussion/19311/cant-figure-out-why-sscrolly-corrupts-the-columnss-size-and-alignement</link>
        <pubDate>Fri, 31 Jan 2014 10:57:17 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>ciaoben</dc:creator>
        <guid isPermaLink="false">19311@/forums/discussions</guid>
        <description><![CDATA[I need to use sScrollX and ScrollY property for my datatables. But simply adding one of this property cause a lot of problems with size and alignemnt of the columns.<br />
<br />
Here is a simple re-production of my table. In reality i use an Ajax call to fill my table. but i replied some data for this example:<br />
<br />
http://live.datatables.net/Ikis/1/edit<br />
<br />
Here is a pic of my real page:<br />
<br />
https://www.evernote.com/shard/s44/sh/5a7c2a79-d265-4461-965b-9a65625cdf6d/855d7875b0c9e960cc533e82c5717622<br />
<br />
Can someone explain me this behavior ?]]>
        </description>
    </item>
    <item>
        <title>fnUpdate problems</title>
        <link>https://datatables.net/forums/discussion/19355/fnupdate-problems</link>
        <pubDate>Wed, 05 Feb 2014 00:51:41 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>Bender67</dc:creator>
        <guid isPermaLink="false">19355@/forums/discussions</guid>
        <description><![CDATA[I have about 20 datatables on a page. Each table has about 5-10 rows.<br />
 <br />
Updating a single cell causes problems. The interesting part is that I can<br />
upate every first row of any table (and also the second row, but just in the first table).<br />
All tables have the same structure.<br />
Here is the code: <br />
 <br />
[code] $("#sort_Table" + $("#&lt;%=hidTableId.ClientID %&gt;").val()).dataTable().fnUpdate(data.d, $("#&lt;%=hidRowId.ClientID %&gt;").val(), 10); [/code]<br />
<br />
I also tried the following to update the first row but does not work:<br />
[code]<br />
var table = $("#sort_Table" + $("#&lt;%=hidTableId.ClientID %&gt;").val()).dataTable().<br />
table.fnSettings().aoData[0]._aData.Comment = "test";<br />
table.fnDraw();<br />
[/code]<br />
<br />
But this works:<br />
[code]<br />
alert(table.fnSettings().aoData[0]._aData.Comment);<br />
[/code]<br />
<br />
Any ideas?]]>
        </description>
    </item>
    <item>
        <title>Apply more than one range filter</title>
        <link>https://datatables.net/forums/discussion/19344/apply-more-than-one-range-filter</link>
        <pubDate>Tue, 04 Feb 2014 10:45:08 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>noslan</dc:creator>
        <guid isPermaLink="false">19344@/forums/discussions</guid>
        <description><![CDATA[Actually I'm using this function to generate a range filter in datatables:<br />
[code]<br />
function CreaFiltro(min,max,col){<br />
<br />
	var oTable = $('#example').dataTable();<br />
	$.fn.dataTableExt.afnFiltering.push(<br />
	function(oSettings, aData, iDataIndex) {<br />
	var engineColumn = parseInt(aData[col]);<br />
	if (engineColumn &gt;= min &amp;&amp; engineColumn &lt;= max)<br />
		return true;<br />
		return false;<br />
	})<br />
	<br />
    oTable.fnDraw();<br />
	$.fn.dataTableExt.afnFiltering.pop();<br />
<br />
} <br />
[/code]<br />
<br />
It works fine, but I need to apply a second range filter using a function, is it possible? any suggestion? <br />
Thanks!]]>
        </description>
    </item>
    <item>
        <title>Exact value search</title>
        <link>https://datatables.net/forums/discussion/19359/exact-value-search</link>
        <pubDate>Wed, 05 Feb 2014 11:34:30 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>webtuts4u</dc:creator>
        <guid isPermaLink="false">19359@/forums/discussions</guid>
        <description><![CDATA[I am using this script to show datatable and search filter shown only one column search. <br />
[quote] But how can i make exact value search. this code search result for 1 is 12, 123, 1234 and etc. how to fix 1 for 1 only. i am using datatables to show all my reports in my project. [/quote]<br />
[code]<br />
var payout = $('.select_all_dataTable').dataTable({<br />
		"sScrollY": 300,<br />
		"bJQueryUI": true,<br />
		"sPaginationType": "full_numbers",<br />
		"aaSorting": [[ 1, "asc" ]],<br />
		"bSort": false,<br />
		"oSearch": { "bSmart": false },<br />
		"aoColumnDefs": [<br />
            { "bSearchable": false, "aTargets": [0] },<br />
            { "bSearchable": true, "aTargets": [1] },<br />
            { "bSearchable": false, "aTargets": [2] },<br />
            { "bSearchable": false, "aTargets": [3] },<br />
            { "bSearchable": false, "aTargets": [4] },<br />
            { "bSearchable": false, "aTargets": [5] },<br />
            { "bSearchable": false, "aTargets": [6] },<br />
            { "bSearchable": false, "aTargets": [7] },<br />
            { "bSearchable": false, "aTargets": [8] },<br />
            { "bSearchable": false, "aTargets": [9] },<br />
            { "bSearchable": false, "aTargets": [10] },<br />
            { "bSearchable": false, "aTargets": [11] }<br />
        ],<br />
        "oLanguage"      : { "sSearch"     : "EPP Search: " }<br />
	});<br />
[/code]]]>
        </description>
    </item>
    <item>
        <title>IE8 Datatables Header Misaligned</title>
        <link>https://datatables.net/forums/discussion/19357/ie8-datatables-header-misaligned</link>
        <pubDate>Wed, 05 Feb 2014 09:46:03 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>arti6genesis</dc:creator>
        <guid isPermaLink="false">19357@/forums/discussions</guid>
        <description><![CDATA[Hi Allan,<br />
<br />
I am using Fixed Columns 2.0.3.Its working absolutely fine except for ie8.<br />
<br />
I am getting Invalid Argument error at line number 852 oStyle.width = that.s.aiWidths[iColumn]+"px"<br />
Seems that ie8 is not calculating widths properly]]>
        </description>
    </item>
    <item>
        <title>get column names of my datatable</title>
        <link>https://datatables.net/forums/discussion/19351/get-column-names-of-my-datatable</link>
        <pubDate>Tue, 04 Feb 2014 18:42:50 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>dede26589</dc:creator>
        <guid isPermaLink="false">19351@/forums/discussions</guid>
        <description><![CDATA[hi,<br />
how to do to get the name of the columns of my datatable ?<br />
Thanks in advance]]>
        </description>
    </item>
    <item>
        <title>sEcho returning value of 0</title>
        <link>https://datatables.net/forums/discussion/19347/secho-returning-value-of-0</link>
        <pubDate>Tue, 04 Feb 2014 16:13:30 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>cmandela</dc:creator>
        <guid isPermaLink="false">19347@/forums/discussions</guid>
        <description><![CDATA[I have used the code exactly as provided on your server-side example.  When I run the code by itself values are returned but sEcho returns a value of 0 thus preventing the table to be populated.  Any help on how to get sEcho to return a value?<br />
<br />
Here is the data returned:<br />
{"sEcho":0,"iTotalRecords":"72","iTotalDisplayRecords":"72","aaData":[["Alabama","AL"],["Alaska","AK"],["Arizona","AZ"],["Arkansas","AR"],["California","CA"],["Colorado","CO"],["Connecticut","CT"],["Delaware","DE"],["Florida","FL"],["Georgia","GA"],["Hawaii","HI"],["Idaho","ID"],["Illinois","IL"],["Indiana","IN"],["Iowa","IA"],["Kansas","KS"],["Kentucky","KY"],["Louisiana","LA"],["Maine","ME"],["Maryland","MD"],["Massachusetts","MA"],["Michigan","MI"],["Minnesota","MN"],["Mississippi","MS"],["Missouri","MO"],["Montana","MT"],["Nebraska","NE"],["Nevada","NV"],["New Hampshire","NH"],["New Jersey","NJ"],["New Mexico","NM"],["New York","NY"],["North Carolina","NC"],["North Dakota","ND"],["Ohio","OH"],["Oklahoma","OK"],["Oregon","OR"],["Pennsylvania","PA"],["Rhode Island","RI"],["South Carolina","SC"],["South Dakota","SD"],["Tennessee","TN"],["Texas","TX"],["Utah","UT"],["Vermont","VT"],["Virginia","VA"],["Washington","WA"],["West Virginia","WV"],["Wisconsin","WI"],["Wyoming","WY"],["American Samoa","AS"],["District of Columbia","DC"],["Micronesia","FM"],["Guam","GU"],["Marshall Islands","MH"],["Northern Mariana Islands","MP"],["Palau","PW"],["Puerto Rico","PR"],["Virgin Islands","VI"],["Alberta","AB"],["British Columbia","BC"],["Manitoba","MB"],["New Brunswick","NB"],["Newfoundland and Labrador","NL"],["Northwest Territories","NT"],["Nova Scotia","NS"],["Nunavut","NU"],["Ontario","ON"],["Prince Edward Island","PE"],["Quebec","QC"],["Saskatchewan","SK"],["Yukon","YT"]]} <br />
<br />
Here is the link to the page to create the table:  http://gsdeventsonline.com/Results/All_Dogs_Table.php<br />
Here is my code:  I blanked out the database connection info for security reasons<br />
&lt;?php<br />
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *<br />
	 * Easy set variables<br />
	 */<br />
	<br />
	/* Array of database columns which should be read and sent back to DataTables. Use a space where<br />
	 * you want to insert a non-database field (for example a counter or static image)<br />
	 */<br />
	$aColumns = array( 'state', 'code' );<br />
	<br />
	/* Indexed column (used for fast and accurate table cardinality) */<br />
	$sIndexColumn = "state";<br />
	<br />
	/* DB table to use */<br />
	$sTable = "states";<br />
	<br />
	/* Database connection information */<br />
	$gaSql['user']       = "";<br />
	$gaSql['password']   = "";<br />
	$gaSql['db']         = "";<br />
	$gaSql['server']     = "localhost";<br />
	<br />
	/* REMOVE THIS LINE (it just includes my SQL connection user/pass) */<br />
	//include( $_SERVER['DOCUMENT_ROOT']."/datatables/mysql.php" );<br />
	<br />
	<br />
	/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *<br />
	 * If you just want to use the basic configuration for DataTables with PHP server-side, there is<br />
	 * no need to edit below this line<br />
	 */<br />
	<br />
	/* <br />
	 * MySQL connection<br />
	 */<br />
	$gaSql['link'] =  mysql_pconnect( $gaSql['server'], $gaSql['user'], $gaSql['password']  ) or<br />
		die( 'Could not open connection to server' );<br />
	<br />
	mysql_select_db( $gaSql['db'], $gaSql['link'] ) or <br />
		die( 'Could not select database '. $gaSql['db'] );<br />
	<br />
	mysql_set_charset('utf8');<br />
<br />
	<br />
	/* <br />
	 * Paging<br />
	 */<br />
	$sLimit = "";<br />
	if ( isset( $_GET['iDisplayStart'] ) &amp;&amp; $_GET['iDisplayLength'] != '-1' )<br />
	{<br />
		$sLimit = "LIMIT ".intval( $_GET['iDisplayStart'] ).", ".<br />
			intval( $_GET['iDisplayLength'] );<br />
	}<br />
	<br />
	<br />
	/*<br />
	 * Ordering<br />
	 */<br />
	$sOrder = "";<br />
	if ( isset( $_GET['iSortCol_0'] ) )<br />
	{<br />
		$sOrder = "ORDER BY  ";<br />
		for ( $i=0 ; $i $iFilteredTotal,<br />
		"aaData" =&gt; array()<br />
	);<br />
	<br />
	while ( $aRow = mysql_fetch_array( $rResult ) )<br />
	{<br />
		$row = array();<br />
		for ( $i=0 ; $i]]>
        </description>
    </item>
   </channel>
</rss>
