<?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 20:36:58 +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/p10/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>datatables dynamic columns from array of objects</title>
        <link>https://datatables.net/forums/discussion/20198/datatables-dynamic-columns-from-array-of-objects</link>
        <pubDate>Fri, 28 Mar 2014 20:44:21 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>mrwillow</dc:creator>
        <guid isPermaLink="false">20198@/forums/discussions</guid>
        <description><![CDATA[Hello , i have bit problem to show data in a datatable when I received data from ajax, I receive the next object from the server:<br />
<br />
{<br />
    "aaData": [<br />
        {<br />
            "media": {<br />
                "url": "/file/532caafbf20aac2f5207587d/",<br />
                "type": "image",<br />
                "thumbnail": "",<br />
                "thumbnail_size": [],<br />
                "image_size": []<br />
            },<br />
            "vote_type": "dislike",<br />
            "name": "blasdas",<br />
            "visits": 0,<br />
            "attributes": [<br />
                {<br />
                    "fields": {<br />
                        "allowed_hosts": [],<br />
                        "required": true,<br />
                        "id": "5328ab63f20aac3ac4ea01e7",<br />
                        "name": "links",<br />
                        "class": "url"<br />
                    },<br />
                    "schema": {<br />
                        "provider_url": "url",<br />
                        "description": "string",<br />
                        "title": "string",<br />
                        "url": "url",<br />
                        "thumbnail_width": "int",<br />
                        "thumbnail_url": "string",<br />
                        "version": "string",<br />
                        "provider_name": "string",<br />
                        "type": "string",<br />
                        "thumbnail_height": "int"<br />
                    }<br />
                },<br />
                {<br />
                    "fields": {<br />
                        "required": false,<br />
                        "id": "5328ab63f20aac3ac4ea01e8",<br />
                        "name": "barras",<br />
                        "class": "progress"<br />
                    },<br />
                    "schema": {<br />
                        "percent": "decimal"<br />
                    }<br />
                },<br />
                {<br />
                    "fields": {<br />
                        "required": true,<br />
                        "id": "5328ab63f20aac3ac4ea01e9",<br />
                        "name": "ciudad",<br />
                        "class": "location"<br />
                    },<br />
                    "schema": {<br />
                        "latitude": "decimal",<br />
                        "name": "string",<br />
                        "longitude": "decimal"<br />
                    }<br />
                }<br />
            ]<br />
        }<br />
    ]<br />
}<br />
<br />
in this object i have a property calls attributes, this property is an objects array, i want to add this attributes in columns to my datatable <br />
<br />
how can I do that?<br />
<br />
I have this config in my datatable<br />
<br />
 var oTable = $('#tableAssets').dataTable( {<br />
                "bProcessing": true,<br />
                "bServerSide": false,<br />
                "sScrollX": "100%",<br />
                "sScrollXInner": "100%",<br />
                "bScrollCollapse": true,<br />
                "oColReorder": {<br />
                    "iFixedColumns": 2<br />
                },<br />
                "sDom": 'CR&lt;"clear"&gt;lfrtip',<br />
                "oColVis": { <br />
                    "buttonText": "Show Attributes",                  <br />
                    "aiExclude": [0,1]<br />
                },<br />
                "sAjaxSource": "../../../collections/"+this.options._id+"/assets/?data=true",<br />
                "aoColumns": [<br />
                  { "sTitle": "Media", "mData": "media.thumbnail" },<br />
                  { "sTitle": "Name",   "mData": "name" },              <br />
                  { "sTitle": "url", "mData": "attributes.0.fields.class" },<br />
                  { "sTitle": "progress", "mData": "attributes.1.fields.class"},<br />
                  { "sTitle": "location", "mData": "attributes.2.fields.class"},<br />
                ],<br />
                "bRetrieve" : true,<br />
<br />
              } );<br />
<br />
In the attribute aoColumns i want the last three objects dynamic i want to use the data from the object that server response<br />
<br />
Please I need a really help with this beacause i'm Breaking my head with that litle problem]]>
        </description>
    </item>
    <item>
        <title>DataTables version 1.9.4 - Change font color for table header</title>
        <link>https://datatables.net/forums/discussion/20196/datatables-version-1-9-4-change-font-color-for-table-header</link>
        <pubDate>Fri, 28 Mar 2014 18:41:59 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>Sunnyuser</dc:creator>
        <guid isPermaLink="false">20196@/forums/discussions</guid>
        <description><![CDATA[Hello all,<br />
<br />
I'm using DataTables-1.9.4 and I'm very happy with this tool and I'm also a newbie.<br />
<br />
I would like to change the font color for the table header: how can I do that? which file and which sections do I have to modify? style.css or demo_table_jui.css?<br />
<br />
Thanks in advance for your help.]]>
        </description>
    </item>
    <item>
        <title>JQuery DataTable Row Grouping with Popover?</title>
        <link>https://datatables.net/forums/discussion/20185/jquery-datatable-row-grouping-with-popover</link>
        <pubDate>Thu, 27 Mar 2014 22:05:32 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>jeszy</dc:creator>
        <guid isPermaLink="false">20185@/forums/discussions</guid>
        <description><![CDATA[Hello~ I had my first column's value with popover which worked prior to implementing the row grouping. When it gets grouped, the text is still linked but popover no longer shows up. There's no exception / error messages either. Hoping that this beauty will work with popover - my popover content is from HTML. Thanks in advance!]]>
        </description>
    </item>
    <item>
        <title>Datatables within asp:TabContainer where asp:TabPanels are dynamically generated in code behind</title>
        <link>https://datatables.net/forums/discussion/20071/datatables-within-asp-tabcontainer-where-asp-tabpanels-are-dynamically-generated-in-code-behind</link>
        <pubDate>Fri, 21 Mar 2014 13:10:05 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>aquajunky</dc:creator>
        <guid isPermaLink="false">20071@/forums/discussions</guid>
        <description><![CDATA[My asp:TabPanels are generated from code behind and the templates are exposed as user controls. Each tab has the same layout, a ListView with a table of data. To get the table to render the thead and tbody tags, I removed the runat server tag from the  tag. However, each tabs table is no longer uniquely named because of this and I can thus only get the first one to operate with datatables. Does this scenario sound feasible? I will attempt to get this up to be able to post a link to.<br />
<br />
Here is a link: http://www.aquajunky.net/FixingHeadersAndColumns/]]>
        </description>
    </item>
    <item>
        <title>Memory leak in datatable when using it inside iFrame</title>
        <link>https://datatables.net/forums/discussion/20176/memory-leak-in-datatable-when-using-it-inside-iframe</link>
        <pubDate>Thu, 27 Mar 2014 10:31:33 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>muthu211</dc:creator>
        <guid isPermaLink="false">20176@/forums/discussions</guid>
        <description><![CDATA[Hi Alan,<br />
<br />
We are using datatable (1.9.4) and we have few entry fields in each row of the data table.<br />
When the same datatable is being called outside iFrame, there is no subsequent memory increase.<br />
<br />
However, when the same datatable is embeded inside iFrame, on each action performed on the user controls in the datatable, there is a subsequent increase in memory and the memory is not dropping down until the browser is closed.<br />
<br />
We tried the following options <br />
1) Used fndestroy() - however, this was not suited to our requirement as it cleared the entire table.<br />
2) included bdestroy property  - This was not impacting our requirement, but it also didnt brought the memory down.<br />
3) we tried unbind the event listners option $(oSettings.nTableWrapper).find("*").andSelf().unbind();  (as per your suggestion in another discussion)<br />
<br />
However, all the above options were not giving a hope.<br />
<br />
Kindly suggest us on any other alternate approach to bring down the memory.<br />
<br />
Cheers,<br />
Muthu.]]>
        </description>
    </item>
    <item>
        <title>Single Object json to rows with key as column1 and value as col2</title>
        <link>https://datatables.net/forums/discussion/20172/single-object-json-to-rows-with-key-as-column1-and-value-as-col2</link>
        <pubDate>Thu, 27 Mar 2014 08:09:19 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>babablacksheep</dc:creator>
        <guid isPermaLink="false">20172@/forums/discussions</guid>
        <description><![CDATA[Hello,<br />
Is it possible with datatables to convert a single object json returned from server to rows of a table with key being column1 and value as column2.<br />
<br />
Single Object Json from server:<br />
[code]<br />
{"data":"abc","name":"Diago","Age":23}<br />
[/code]<br />
<br />
Table with 2 columns , col1 key, col2: value<br />
[code] <br />
Sample Table Out Put with key:value pair as row<br />
----------------------<br />
| key    |    value  |<br />
----------------------<br />
| data   |   abc     |<br />
| name   |   Diago   |<br />
| Age    |   23      |<br />
----------------------<br />
[/code]]]>
        </description>
    </item>
    <item>
        <title>DataTable handling different format of json</title>
        <link>https://datatables.net/forums/discussion/20154/datatable-handling-different-format-of-json</link>
        <pubDate>Wed, 26 Mar 2014 08:15:20 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>babablacksheep</dc:creator>
        <guid isPermaLink="false">20154@/forums/discussions</guid>
        <description><![CDATA[I am new to Datatables and trying to figure out this problem. I have a server which oupts json in certain format(see below).I cant change that on server side.<br />
<br />
**Note: I am using link http://www.json-generator.com/j/cftupHnpbC?indent=4 to emulate my server response just for checking.<br />
<br />
I have 2 problems<br />
[quote] <br />
1 - Since My json response doesn't have aaData: thing required by dataTable, I cant seem to initiliaze it.<br />
    Even if I add aaData: by hand to json just for checking, dataTable cant count total records.<br />
2 - How I can set that manually ?Since I cant change output from server.<br />
[/quote] <br />
<br />
JSBIN LINK:  http://live.datatables.net/dasuyaf/1/edit<br />
<br />
[code] <br />
<br />
  <br />
    <br />
       <br />
      ID<br />
      Name<br />
      Text<br />
    <br />
  <br />
  <br />
<br />
[/code] <br />
<br />
[code] <br />
$(document).ready( function () {<br />
  var table = $('#example').dataTable({<br />
  "sAjaxSource": "http://www.json-generator.com/j/cftupHnpbC?indent=4",<br />
    "aoColumns": [{<br />
      "mData": "id",<br />
      "mRender": function (data, type, full) {<br />
        return '';<br />
      }<br />
    }, {<br />
      "mData": "id"<br />
    }, {<br />
      "mData": "name"<br />
    }, {<br />
      "mData": "text"<br />
    }], <br />
    "bProcessing": true,<br />
    "bServerSide": true,<br />
    "sServerMethod": "GET",<br />
    "aoColumnDefs": [{<br />
      'bSortable': false,<br />
      'aTargets': [0]<br />
    }],<br />
    "fnDrawCallback": function (oSettings) {<br />
      console.log(this.fnSettings().fnRecordsTotal());<br />
    }<br />
  });<br />
});<br />
[/code] <br />
<br />
[code] <br />
[<br />
    {<br />
        "text": "Some text", <br />
        "name": "somedata", <br />
        "id": "89"<br />
    }, <br />
    {<br />
        "text": "Some text", <br />
        "name": "somedata", <br />
        "id": "2"<br />
    }, <br />
    {<br />
        "text": "Some text", <br />
        "name": "somedata", <br />
        "id": "12"<br />
    }<br />
]<br />
[/code]]]>
        </description>
    </item>
    <item>
        <title>How to customize generated styles..</title>
        <link>https://datatables.net/forums/discussion/20170/how-to-customize-generated-styles</link>
        <pubDate>Thu, 27 Mar 2014 06:06:34 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>santi</dc:creator>
        <guid isPermaLink="false">20170@/forums/discussions</guid>
        <description><![CDATA[hi,<br />
<br />
i am new to datatable and is doing some r&amp;d for a poc.<br />
one strange requirement for us is not to use any css files.<br />
the client has a set of css toolkit and we are supposed to use that.<br />
they have huge number of applications and wanted a common look and feel.<br />
<br />
i was looking for some options and stumbled into issues.<br />
obvious basic problem is, the syle classes used by our ui toolkit is not the same as the generated datatable style classes.<br />
and we cannot change our css files to add datatable style classes.<br />
<br />
another problem is the elements itself.<br />
our ui toolkit uses  for tables and datatable uses  and <br />
<br />
what is the best possible solution..?.<br />
what i am doing is modifying the plugin(jquery.dataTables.min.js) to meet our requirement.<br />
is thr any better way..?.<br />
<br />
rgds,<br />
santi..]]>
        </description>
    </item>
    <item>
        <title>Row grouping using the fixed column for two columns fixed</title>
        <link>https://datatables.net/forums/discussion/20128/row-grouping-using-the-fixed-column-for-two-columns-fixed</link>
        <pubDate>Tue, 25 Mar 2014 00:23:16 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>baileylee</dc:creator>
        <guid isPermaLink="false">20128@/forums/discussions</guid>
        <description><![CDATA[Hi, all<br />
<br />
I have two columns on the left to fixed, and of which the left most one I want to put in a group, I tried to set "iLeftColumns" to 2 but it doesn't work.<br />
I find out this is because the api puts left most 2 columns in two one table which could not be grouped on a single column.<br />
I'm thinking if there is a way to separate these two columns to help group one of it. Thanks,<br />
here is the example links <br />
http://jsfiddle.net/5A4Q9/<br />
<br />
Bailey]]>
        </description>
    </item>
    <item>
        <title>DataTables warning: JSON data from server</title>
        <link>https://datatables.net/forums/discussion/17679/datatables-warning-json-data-from-server</link>
        <pubDate>Sat, 05 Oct 2013 15:55:13 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>desidoc</dc:creator>
        <guid isPermaLink="false">17679@/forums/discussions</guid>
        <description><![CDATA[HI <br />
<br />
My problem is that on localhost i have no error, but once i put the php pages on my web server fails with this error<br />
<br />
DataTables warning (table id = 'dataTable'): DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.<br />
<br />
Has anyone any idea on what's happening<br />
<br />
Thanks]]>
        </description>
    </item>
    <item>
        <title>Delete, Update and Reorder Issues</title>
        <link>https://datatables.net/forums/discussion/20129/delete-update-and-reorder-issues</link>
        <pubDate>Tue, 25 Mar 2014 01:01:15 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>rolshan</dc:creator>
        <guid isPermaLink="false">20129@/forums/discussions</guid>
        <description><![CDATA[I am using DataTables to dynamically create DataTables on the fly. In doing so, I am running into a couple of issues. The tables are populated using JSON data passed back from a server call via a URL. I am initialing the DataTable using aoColumns instead of aoColumnDefs. Not sure if this is part of the issue.<br />
<br />
Upon calling fnDeleteRow, I am getting the following error: [quote]Unable to get property 'aoData' of undefined or null reference.[/quote] I am passing in the correct index of the row I am deleting.<br />
<br />
Upon calling fnUpdate, I am getting the following error: [quote]Unable to get property 'aoData' of undefined or null reference.[/quote] I am passing in the correct index of the row I am updating and JSON that matches the JSON that initially populated the grid.<br />
<br />
I am also using the row reordering plugin. Upon dragging a row to a new position, the grid is not passing in expected values. If I was to drag a row to a new position, fnMoveRows would be called as follows:<br />
<br />
[quote]oTable - table object<br />
sSelector - "tbody tr"<br />
iCurrentPostion - "Test" (This is the value of the column the sort was initiated from)<br />
iNewPosition - "NaN"<br />
sDirection - "forward"<br />
id - "row_1bb8f567-69dc-49d8-ad18-313663df676c"<br />
sGroup = ""[/quote]]]>
        </description>
    </item>
    <item>
        <title>How do I get access to oSettings if I want to replace the default callback function in AJAX ?</title>
        <link>https://datatables.net/forums/discussion/20086/how-do-i-get-access-to-osettings-if-i-want-to-replace-the-default-callback-function-in-ajax</link>
        <pubDate>Sat, 22 Mar 2014 15:23:58 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>genmoltek</dc:creator>
        <guid isPermaLink="false">20086@/forums/discussions</guid>
        <description><![CDATA[I hope someone can point me in the right direction.  <br />
I just KNOW the answer is probably built into DataTables 1.9X already .. <br />
but I can't see the Trees for the Forrest.   :/<br />
<br />
I saw the following post regarding 'Script is running too long' Issue on IE 8 (which I am unfortunately forced to use.)<br />
http://datatables.net/forums/discussion/16655/ie8-a-script-on-this-page-is-causing-your-web-browser-to-run-slowly/p1<br />
The code in that discussion thread appears to be using Interval and breaking the JSON returned from Ajax into more manageable chunks.<br />
<br />
My problem is the Script is taking too long when CREATING the Table.<br />
I have under 40k records and the AJAX call returns in under a second.<br />
<br />
Question #1)  Is that solution in the link above only for Tables that have already been drawn ?  The name of that function leads me to think that it is for Updating but not useful for creating/initializing.<br />
<br />
<br />
If the Answer to #1 is 'Yes', then I assume I have to take bits of the default callback and bits from the link above in order to create/initialize a table with Data that won't trigger the 'Script is Running too long' issue. <br />
<br />
"If" that assumption is true, then that leads me to my last and most important Question:<br />
<br />
Question #2)  If I need access to the 'oSettings' object (which is used in the default callback) then should my own custom function use the 'this' pointer to gain access to the 'fnSettings' function ?   Per Discussion Post:  http://www.datatables.net/beta/1.8/examples/api/api_in_init.html]]>
        </description>
    </item>
    <item>
        <title>mRender giving an initial error</title>
        <link>https://datatables.net/forums/discussion/20012/mrender-giving-an-initial-error</link>
        <pubDate>Mon, 17 Mar 2014 17:51:00 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>leeguth</dc:creator>
        <guid isPermaLink="false">20012@/forums/discussions</guid>
        <description><![CDATA[I am using the mRender to display a count (not coming back in my ajax call) and a button (using a value in my data that I am not displaying). When i initially load the page, I get the following error: "DataTables warning (table id = 'example'): Requested unknown parameter '1' from the data source for row0."<br />
<br />
After I get the error though, the page does display correctly. How do I get rid of the error?<br />
<br />
Here is my ajax call:<br />
		success:function(data){<br />
			oTable = $('#example').dataTable( {<br />
			"bProcessing": true,<br />
			"aaData": data,<br />
			"aoColumns": [<br />
				{ <br />
					"mData": null, <br />
					"sClass": "control center", <br />
					"sDefaultContent": ''<br />
				},<br />
				{ "mRender": function(data,type, row) {<br />
						return getProjectCount(row.prg_guid);<br />
						}<br />
				},<br />
				{ "mData": "prg_name" },<br />
				{ "mData": "market" },<br />
				{ "mData": "beta_date" },<br />
				{ "mData": "rtc_date" },<br />
				{ "mRender": function(data, type, row) {<br />
					if (row.prj_guid != ""){<br />
						return "Open in cPro";<br />
					} else<br />
						return "No cPro";		<br />
					}<br />
				}<br />
				<br />
			]<br />
			} );<br />
		}<br />
    <br />
I am hopefully using the mRender properly.....]]>
        </description>
    </item>
    <item>
        <title>Netbeans renders CSS parsing errors  for Datatables 1.9.4</title>
        <link>https://datatables.net/forums/discussion/20112/netbeans-renders-css-parsing-errors-for-datatables-1-9-4</link>
        <pubDate>Mon, 24 Mar 2014 12:10:00 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>adamovic</dc:creator>
        <guid isPermaLink="false">20112@/forums/discussions</guid>
        <description><![CDATA[[code]<br />
* cursor: hand;<br />
[/code]<br />
<br />
This creates parsing error in CSS files. Any idea I can replace it with something which doesn't create parsing error? It is most likely Netbeans problem, however, this CSS syntax looks weird anyway.]]>
        </description>
    </item>
    <item>
        <title>$.fn.dataTableExt.ofnSearch[sType] does not work in 1.9.4</title>
        <link>https://datatables.net/forums/discussion/20105/fn-datatableext-ofnsearch-stype-does-not-work-in-1-9-4</link>
        <pubDate>Mon, 24 Mar 2014 06:09:41 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>davidkonrad</dc:creator>
        <guid isPermaLink="false">20105@/forums/discussions</guid>
        <description><![CDATA[Normally we could do this to prepare the content before filtering<br />
<br />
[code] <br />
$.fn.dataTableExt.ofnSearch['string'] = function ( data ) {<br />
...<br />
[/code] <br />
see http://jsfiddle.net/Y5ycM/<br />
<br />
This does not work in dataTables 1.9.4, see http://jsfiddle.net/27B6B/<br />
<br />
The funny thing is, that the code looks the same and should be called in 1.9.4 also, but it never does. Is that a bug, or is there another approach to do this in 1.9.4, not mentioned in the changes?<br />
<br />
regards,]]>
        </description>
    </item>
    <item>
        <title>DataTable bootstrap 3 user select row issue</title>
        <link>https://datatables.net/forums/discussion/20094/datatable-bootstrap-3-user-select-row-issue</link>
        <pubDate>Sun, 23 Mar 2014 03:13:03 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>Davidgallivan</dc:creator>
        <guid isPermaLink="false">20094@/forums/discussions</guid>
        <description><![CDATA[I have a ASP.Net MVC page with datatable.  Everything is working great until I change the table data.  I have an edit button that submits changes via ajax.  I return the results via a partial view, the defined table is in the partial view.  The data comes back and the changes are shown.  The events get hooked back up because I can see when I click on the row, the row_selected CSS class is getting assigned.  The problems comes in when the css style does not get applied.  I can see in the debugger that the class was applied, but as I click on the other rows, it gets the row selected class as well.  normally it only adds the class to the selected row and removes it from the other ones.  In addition, the bootstrap classes, odd and even are now missing from the table.<br />
<br />
If I manually add the odd and even classes, the highlight starts to show but then any row you click becomes highlighted because it is not removing the row_selected class.<br />
<br />
any suggestions would be helpful.  maybe there is a better way of updated the data in the table besides a partial view.<br />
<br />
thanks<br />
David<br />
<br />
ajax call<br />
[code]  <br />
function postEntityWithTableUpdate(postData, apiURL)<br />
{<br />
    var result = '';<br />
    $.ajax(<br />
    {<br />
        type: "POST",<br />
        url: apiURL,<br />
        data: postData,<br />
        async: false,<br />
        success: function (data) {<br />
            if (data.msg == "ServerError") {<br />
                toastr.error("Record was not able to be modified, see your system administrator");<br />
            }<br />
            else {<br />
                $("#mainContent").html(data);<br />
                setTableEvents();<br />
            }<br />
        }<br />
    });<br />
    return result;<br />
}<br />
<br />
function to set selected row<br />
<br />
function setTableEvents()<br />
{<br />
    $("#dataGrid tbody").click(function (event) {<br />
        $(oTable.fnSettings().aoData).each(function () {<br />
            $(this.nTr).removeClass('row_selected');<br />
        });<br />
        $(event.target.parentNode).addClass('row_selected');<br />
        populateSelectedRecord(event.target.parentNode);<br />
    });<br />
}<br />
[/code]]]>
        </description>
    </item>
    <item>
        <title>How we enable server side processing in JAVA?</title>
        <link>https://datatables.net/forums/discussion/20083/how-we-enable-server-side-processing-in-java</link>
        <pubDate>Sat, 22 Mar 2014 06:25:47 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>softashu</dc:creator>
        <guid isPermaLink="false">20083@/forums/discussions</guid>
        <description><![CDATA[Hi All, <br />
<br />
We are facing one problem while loading full data at once . Data size &lt; 2000. <br />
Actually the table view distorted for couple of secs, after that it become Okay.<br />
<br />
Our server side processing based on JAVA and JSON. Could you please help me to render data table without any distortion.]]>
        </description>
    </item>
    <item>
        <title>Datatables 1.9.4-- stop running script error on IE</title>
        <link>https://datatables.net/forums/discussion/19743/datatables-1-9-4-stop-running-script-error-on-ie</link>
        <pubDate>Fri, 28 Feb 2014 09:47:25 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>anandpatil343</dc:creator>
        <guid isPermaLink="false">19743@/forums/discussions</guid>
        <description><![CDATA[I am using version 1.9.4 in my application, user is constantly getting stop running the script error on IE (8,9 etc)...<br />
<br />
I have used the IE profiler , I have the below results : (some of the functions)<br />
<br />
Function	                                  Count	                 InclusiveTime (ms)	                 ExclusiveTime (ms)	              AvgTime            MaxTime<br />
JScript - window script block	  44,905	                             50,248.39	                                41,951.78	1.12	        19,733.74<br />
Array.unshift	                1,447,666	              7,249.77	                                 7,249.77 	0.01	         343.74<br />
initDataTable	                   1	                              57,201.30	                                 6,827.91	               57,201.30	         57,201.30<br />
initCreatedLeadsDataTable	   1	                              62,888.61	                                 5,687.32	               62,888.61          62,888.61<br />
pt	                                44,904	                              1,046.84	                                  1,046.84	0.02	         218.74<br />
browserHandler	                   7	                              62,997.98	                                     93.75	              8,999.71	          62,888.61<br />
Array.sort      	                  1	                           50,295.27	                         46.87	        50,295.27                           50,295.27<br />
DataTable	1	             50,373.39	                                15.62	                               50,373.39	               50,373.39<br />
String.replace	             42	                                 15.62	                        15.62	                 0.37	             15.62<br />
<br />
I need to know what is this array.unshift , why is taking being called so much time. <br />
Need your assistance to resolve this error.]]>
        </description>
    </item>
    <item>
        <title>aoColumnDefs, sClass and aTargets (using class name) doesn't work.</title>
        <link>https://datatables.net/forums/discussion/20055/aocolumndefs-sclass-and-atargets-using-class-name-doesnt-work</link>
        <pubDate>Thu, 20 Mar 2014 15:20:31 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>kmd1970</dc:creator>
        <guid isPermaLink="false">20055@/forums/discussions</guid>
        <description><![CDATA[I am trying to use "aoColumnDefs" with "sClass" and "aTargets" (using the class name) and it doesn't seem to work. <br />
<br />
When I debugged the jQuery.DataTables.js code I found that line 433 was always returning "false" for .hasClass().<br />
<br />
[code]<br />
432  if ( aTargets[j] == "_all" ||<br />
433     $(oSettings.aoColumns[k].nTh).hasClass( aTargets[j] ) )<br />
[/code]<br />
<br />
Here is my Datatables live example:<br />
<br />
http://live.datatables.net/bepesey/1/edit<br />
<br />
Test Code Sample:<br />
<br />
[code] <br />
$(document).ready( function () {<br />
  var table = $('#example').DataTable(<br />
    {<br />
     <br />
      "aoColumns": [<br />
        {"sTitle":"myTitle" ,"sClass": "myClass" },<br />
             null,<br />
             null,<br />
             null,<br />
             null,<br />
             null <br />
       ],<br />
      <br />
          "aoColumnDefs": [<br />
		<br />
            {<br />
             "mRender": function ( data, type, row ) { <br />
				<br />
               return ''+data+'';<br />
                },"aTargets": ['myClass']<br />
				<br />
            }<br />
           ]<br />
      <br />
    }<br />
  );<br />
} );<br />
[/code]]]>
        </description>
    </item>
    <item>
        <title>pre sort callback</title>
        <link>https://datatables.net/forums/discussion/20047/pre-sort-callback</link>
        <pubDate>Thu, 20 Mar 2014 09:42:02 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>Halfone</dc:creator>
        <guid isPermaLink="false">20047@/forums/discussions</guid>
        <description><![CDATA[Hello!<br />
<br />
I have a page with a datatable. There is also a process that update directly the DOM of my table. I have no control over this process.<br />
<br />
The table is sortable. But I think that the sorting mechanism of datatable is based upon the 'internal' stored data, that is different from the updated DOM. <br />
<br />
So i've found the plugin "fnDataUpdate" that seems to solve the problem: it updates the internal stored data of datatable with the actual DOM content.<br />
<br />
Now i have to apply the fnDataUpdate method before sort happen... but i can't found any callback to do this.<br />
<br />
Searching for similar questions, i've found the 'fnDrawCallback' or 'fnPreDrawCallback' methods, but both doesn't function.<br />
<br />
I've tried to bind the callback on the 'sort' event, but this is called after the sort is completed :/<br />
<br />
Any suggestion?<br />
<br />
Thank you very much :)<br />
<br />
Here is a jsFiddle link<br />
<br />
http://jsfiddle.net/4qtjJ/<br />
<br />
to reproduce the problem: <br />
<br />
1. click on the start button and wait the td change value<br />
2. click again on the button to stop the process<br />
3. click on 'Column' to do the sort (wrong)<br />
<br />
4. uncomment the METHOD 1 or METHOD 2, run again the fiddle and do the steps 1. 2. 3.<br />
<br />
5. observe that with METHOD 1 or METHOD 2 only the very first sort don't function. <br />
<br />
this is because the fnDataUpdate is correctly executed... but AFTER the first sort happen, so its effect are visible from the second sort...]]>
        </description>
    </item>
    <item>
        <title>Destroy the datatable doesn't reset the column's visible setting</title>
        <link>https://datatables.net/forums/discussion/20045/destroy-the-datatable-doesnt-reset-the-columns-visible-setting</link>
        <pubDate>Thu, 20 Mar 2014 07:08:29 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>ika18</dc:creator>
        <guid isPermaLink="false">20045@/forums/discussions</guid>
        <description><![CDATA[Hi all,<br />
I used [code] oTable.fnDestroy() [/code] to destroy table and reinitialise table. But the column's visible setting didn't reset.]]>
        </description>
    </item>
    <item>
        <title>filter &amp; info boxes sticked to the right &amp; left window borders</title>
        <link>https://datatables.net/forums/discussion/20034/filter-info-boxes-sticked-to-the-right-left-window-borders</link>
        <pubDate>Wed, 19 Mar 2014 12:54:30 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>lowley</dc:creator>
        <guid isPermaLink="false">20034@/forums/discussions</guid>
        <description><![CDATA[hello<br />
My table has a width of 1000px and is centered, but with these values, the filter and the info _box are at sticked to the right &amp; left border of the screen. what should I do to avoid that?<br />
<br />
here is the table:<br />
[code]<br />
<br />
	<br />
		<br />
			Nom<br />
			Prénom...[/code]<br />
<br />
&amp; here is the js code:<br />
[code]<br />
	$(document).ready(function() {<br />
		$('#aTable').dataTable({<br />
			"bPaginate": false<br />
		});<br />
	});<br />
[/code]<br />
<br />
thanks.]]>
        </description>
    </item>
    <item>
        <title>Use of sScrollX creates duplicate table header id's, causing accessibility WCAG 2.0 A to fail.</title>
        <link>https://datatables.net/forums/discussion/19517/use-of-sscrollx-creates-duplicate-table-header-ids-causing-accessibility-wcag-2-0-a-to-fail</link>
        <pubDate>Sun, 16 Feb 2014 11:23:20 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>sawyerr44</dc:creator>
        <guid isPermaLink="false">19517@/forums/discussions</guid>
        <description><![CDATA[Firstly, would like to say thanks for a great plugin!<br />
<br />
I do have an issue that I struggling to resolve ;o(<br />
<br />
My table has to conform to WCAG 2.0 AA standard. <br />
<br />
I encounter an issue when id’s have been entered into my table header tags and the sScrollX option has been utilised, this combination causes the id’s to be duplicated within the table(s) and therefore causes the accessibility check to fail.<br />
<br />
Here is an example of my table source code with the table header tags:<br />
<br />
[code]<br />
<br />
	<br />
		<br />
			First Name<br />
			Surname<br />
			User Type<br />
			Email Address<br />
			User Name<br />
			Telephone Number<br />
			Centre Name<br />
			Current Status<br />
			Action<br />
		<br />
	<br />
	<br />
		<br />
			Joe<br />
			Bloggs<br />
			Admin<br />
			jbloggs@verelogic.com<br />
			jbloggs<br />
			01793 411111<br />
			DAO Administrator<br />
			Enabled<br />
			Edit Record - Joe BloggsModify User - Joe Bloggs<br />
		<br />
	<br />
<br />
[/code]<br />
<br />
I’m aware that when the sScrollX option is utilised, the table is split into three separate tables, but this is where I encounter my accessibility issue.<br />
<br />
When I view the source or view the code in Firebug, the table header has been duplicated in both the dataTables_scrollHead and dataTables_scrollBody, which fails the accessibility check:<br />
<br />
“ID must be unique.”<br />
<br />
Please find below the output code to showcase this issue:<br />
<br />
The first piece of code is the output for the dataTables_scrollHead (I have only cut three table headers as there is a lot of code.)<br />
<br />
[code]<br />
<br />
	<br />
		<br />
			<br />
				<br />
					<br />
						First Name<br />
					<br />
					<br />
						Surname<br />
					<br />
					<br />
						User Type<br />
					<br />
[/code]<br />
<br />
The second piece of code is the output for the dataTables_scrollBody (I have only cut three table headers as there is a lot of code.)<br />
<br />
[code]<br />
<br />
	<br />
		<br />
			<br />
				<br />
				<br />
				<br />
				<br />
				<br />
				<br />
[/code]<br />
<br />
Your help would be much appreciated.]]>
        </description>
    </item>
    <item>
        <title>Cannot set column width while using filters</title>
        <link>https://datatables.net/forums/discussion/20040/cannot-set-column-width-while-using-filters</link>
        <pubDate>Wed, 19 Mar 2014 19:03:56 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>toddfielder</dc:creator>
        <guid isPermaLink="false">20040@/forums/discussions</guid>
        <description><![CDATA[I am attempting to set column width while using filters...The filters are a row in the thead , so my thead has 2 rows.  However, the aoColumns are not being applied.  If I remove one of the rows (say the filter row) so that the thead only has a single row, everything works as expected.<br />
My question is:  Is there any way to set the column width with 2 rows in the header<br />
Is there some other way to approach this?  I have put both the filter and column title in the same , but it doesn't look as nice and that's not what I want...I actually want the filter to be a different row.  Below is my code<br />
[code]<br />
    <br />
    <br />
      <br />
	      <br />
	      	<br />
	      	<br />
	      		<br />
	          		<br />
		          	<br />
		          		${requestStatus.eventRequestStatusLabel}<br />
		          	<br />
         		<br />
	        <br />
	        <br />
	      	<br />
	      	           	<br />
	         	<br />
	         	<br />
	      	<br />
	      	<br />
	      		<br />
	          		<br />
		          	<br />
		          		${roleType.attendeeRoleTypeLabel}<br />
		          	<br />
         		<br />
         	  <br />
	      	  <br />
	      	  <br />
	      	      <br />
	      	<br />
	      <br />
        <br />
          Participant<br />
          Request Status<br />
          Org<br />
          Mgr<br />
          Event Title<br />
          City<br />
          State<br />
          Country<br />
          Role<br />
          Travel $<br />
          Registration $<br />
		  Event Start Date		  <br />
        <br />
      <br />
      <br />
        <br />
	    	          <br />
            	<br />
            	<br />
            	       <br />
					       <br />
            	<br />
            	<br />
            	<br />
            	<br />
              		<br />
              		<br />
            	<br />
            	<br />
            	<br />
            	<br />
            	<br />
            	<br />
            	            	<br />
          	<br />
 		<br />
      <br />
<br />
    <br />
    <br />
<br />
[/code]]]>
        </description>
    </item>
    <item>
        <title>How to access values from fnServerParams</title>
        <link>https://datatables.net/forums/discussion/19887/how-to-access-values-from-fnserverparams</link>
        <pubDate>Fri, 07 Mar 2014 21:15:15 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>systematical</dc:creator>
        <guid isPermaLink="false">19887@/forums/discussions</guid>
        <description><![CDATA[Hello I am using DataTables 1.9.4 and I would would like to access the values that have been passed in fnServerParams. The code is quite simple:<br />
<br />
[code]<br />
var oTable = $('#report-table').dataTable({<br />
    "iDisplayLength": 300,<br />
    "bProcessing": true,<br />
    "bServerSide": true,<br />
    "sAjaxSource": "/casings/index.json",<br />
    "sDom": 'Rfrtip',<br />
    "fnServerParams": function ( aoData ) {<br />
        aoData.push({ "name": "customer_id", "value": $('#customer-id').val() });<br />
        aoData.push({ "name": "shipped", "value": $('#shipped-status').val() });<br />
    }<br />
});<br />
[/code]<br />
<br />
Unfortunately I don't know how to access the values passed into aoData in fnServerParams. I've tried the following to no avail as I don't see customer_id or shipped anywhere.<br />
<br />
[code]<br />
var settings = oTable.fnSettings();<br />
console.log(settings);<br />
console.log(oTable.oApi._fnAjaxParameters(oTable.dataTable().fnSettings()));<br />
[/code]<br />
<br />
Does anyone know how to do this?]]>
        </description>
    </item>
    <item>
        <title>Need help with saving row data when clicked on &amp; saving the state from one tab to another tab</title>
        <link>https://datatables.net/forums/discussion/20015/need-help-with-saving-row-data-when-clicked-on-saving-the-state-from-one-tab-to-another-tab</link>
        <pubDate>Mon, 17 Mar 2014 23:35:18 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>svu004</dc:creator>
        <guid isPermaLink="false">20015@/forums/discussions</guid>
        <description><![CDATA[Hi, <br />
<br />
I am very new to datatables. I have a JSON data that is passed to in response to AJAX call, and then, invoke the datatables on the json data as follows, and activate one tab of the page to contain the output of this datatable. I have couple of problems:<br />
<br />
1. When the user selects a particular row, I need to keep track of the row data in a datastructure. Is there a better way to do it than what I doing below? How can we have the  oTable.$('tr').click(function() to be defined out of the Ajax post response? <br />
<br />
2. When the page tab which contains the output of the below datatable is switched with another tab, then, the  oTable.$('tr').click(function() doesn't work anymore? Is there a solution or another option to do it?<br />
<br />
3. If we need to have columns within  columns, how can we do it with Datatables?<br />
<br />
Can some one provide me some pointers for the above questions, which would be really helpful to me...<br />
<br />
[code]<br />
success: function(response) {					<br />
						<br />
						oTable = $("#example_table_id").dataTable({<br />
							"bProcessing": true,<br />
							"bAutoWidth": false,<br />
							"iDisplayLength": 10,<br />
							"aoColumns": response.aoColumns,<br />
							"aaData": response.aaData							<br />
						});<br />
<br />
 //Register event handling for when the row is clicked on:<br />
<br />
                                                var oTableData=new Array();<br />
                                                 oTable.$('tr').click(function() {<br />
													var oData = oTable<br />
															.fnGetData(this);<br />
													console.log(oData);<br />
													var index = oTableData<br />
															.indexOf(oData);<br />
<br />
													if (index != -1) {<br />
														oTableData.splice(index, 1);<br />
													} else {<br />
														oTableData.push(oData);<br />
													}<br />
<br />
													console.log(oTableData);<br />
													<br />
												}); <br />
<br />
}<br />
<br />
[/code]]]>
        </description>
    </item>
    <item>
        <title>Uncaught TypeError: Cannot read property 'style' of undefined while using colspan</title>
        <link>https://datatables.net/forums/discussion/19874/uncaught-typeerror-cannot-read-property-style-of-undefined-while-using-colspan</link>
        <pubDate>Fri, 07 Mar 2014 11:47:30 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>narayanang27</dc:creator>
        <guid isPermaLink="false">19874@/forums/discussions</guid>
        <description><![CDATA[[code]<br />
&lt;!DOCTYPE HTML&gt;<br />
<br />
<br />
    <br />
    <br />
<br />
<br />
<br />
     <br />
    <br />
    <br />
    <br />
 <br />
    <br />
     <br />
    <br />
    <br />
        <br />
            Engine<br />
            Browser<br />
            Platform<br />
            Version<br />
            Grade<br />
        <br />
    <br />
    <br />
        <br />
          Engine1<br />
 sub - engine1<br />
            Browser1<br />
            Platform1<br />
            Version1<br />
            Grade1<br />
        <br />
    <br />
<br />
       <br />
    <br />
    <br />
     <br />
<br />
<br />
<br />
[/code]<br />
<br />
after applying datatable plugin for the above table (colspan used table) it gives an error <br />
[quote] Uncaught TypeError: Cannot read property 'style' of undefined in line no.3255 (line mentioned below) [/quote]<br />
<br />
[code] <br />
nThs[i].style.width = o.aoColumns[iVis].sWidth;<br />
[/code]<br />
<br />
I applied a validation line for that like<br />
<br />
[code] <br />
if(nThs[i] !== undefined)<br />
   nThs[i].style.width = o.aoColumns[iVis].sWidth;<br />
[/code]<br />
<br />
and it works fine!!!!<br />
<br />
[quote] Is that ok Alan? If so please recommend it to others to use [/quote]]]>
        </description>
    </item>
    <item>
        <title>Json without aaData</title>
        <link>https://datatables.net/forums/discussion/20022/json-without-aadata</link>
        <pubDate>Tue, 18 Mar 2014 14:52:50 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>lusabo</dc:creator>
        <guid isPermaLink="false">20022@/forums/discussions</guid>
        <description><![CDATA[Is there a way to work with Datatables with sAjaxSource where the returned JSON has no aaData?<br />
<br />
My table:<br />
<br />
[code]<br />
<br />
	<br />
		<br />
			Id<br />
			Description<br />
			Link<br />
		<br />
	<br />
	<br />
	<br />
<br />
[/code]<br />
<br />
My javascript:<br />
<br />
[code]<br />
$('#exemplo').dataTable({<br />
   	 "bProcessing": true,<br />
         "bServerSide": true,<br />
         "sAjaxSource": "api/bookmark",<br />
         "sAjaxDataProp": "",<br />
         "aoColumns": [<br />
             { "mData": "id" },<br />
             { "mData": "description" },<br />
             { "mData": "link" }<br />
         ]<br />
});<br />
[/code]<br />
<br />
The JSON returned by http://localhost:8080/bookmark-html5/api/bookmark:<br />
<br />
[code]<br />
[<br />
    {<br />
        "id": 10,<br />
        "description": "Demoiselle Portal",<br />
        "link": "www.frameworkdemoiselle.gov.br"<br />
    },<br />
    {<br />
        "id": 11,<br />
        "description": "Demoiselle SourceForge",<br />
        "link": "sf.net/projects/demoiselle"<br />
    }<br />
]<br />
[/code]<br />
<br />
The following error is occurring in the browser:<br />
<br />
[quote]<br />
Uncaught TypeError: Cannot read property 'length' of undefined <br />
[/quote]<br />
<br />
Thanks!]]>
        </description>
    </item>
    <item>
        <title>Filter records based on column data</title>
        <link>https://datatables.net/forums/discussion/19947/filter-records-based-on-column-data</link>
        <pubDate>Wed, 12 Mar 2014 11:06:45 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>prathap</dc:creator>
        <guid isPermaLink="false">19947@/forums/discussions</guid>
        <description><![CDATA[My data array contains boolean (yes/no), tinyint (0/1/2) values. In fnCreatedRow function, i change it to respective text to display like below:<br />
<br />
[code]<br />
"fnCreatedRow": function (nRow, aData, iDataIndex) {<br />
                (aData[3] == 'Yes') ? $(nRow.cells[2]).html("Scheduled") : $(nRow.cells[2]).html("Manual");            <br />
            }<br />
[/code]<br />
<br />
Now when i do search with [quote] Schedule [/quote], i am not getting any data. But if i search with [quote] Yes [/quote], i will get the respective row.<br />
<br />
Can someone please give me a solution to search on the column data rather than on data array?<br />
<br />
Regards,<br />
Prathap.]]>
        </description>
    </item>
    <item>
        <title>Database fields and aoColumns order</title>
        <link>https://datatables.net/forums/discussion/19948/database-fields-and-aocolumns-order</link>
        <pubDate>Wed, 12 Mar 2014 11:33:57 +0000</pubDate>
        <category>DataTables 1.9</category>
        <dc:creator>prathap</dc:creator>
        <guid isPermaLink="false">19948@/forums/discussions</guid>
        <description><![CDATA[Hi,<br />
<br />
Many of my database queries return fields not in the order as it is being shown in grid. Since this is LIVE application and right now, we are changing our existing list using DataTable, we are finding it difficult to order the database fields and actual order required to be shown in grid.<br />
<br />
Is there any option to write aoColumns array irrespective of the database fields order containing in the aaData array?<br />
<br />
Point is we don't want to use aTargets option of aoColumnDefs as the fields and its order in the database query can be changed now and then.<br />
<br />
Regards,<br />
Prathap.]]>
        </description>
    </item>
   </channel>
</rss>
