Quantcast
Channel: Free community support — DataTables forums
Browsing all 35270 articles
Browse latest View live

jquery.dataTables.min.js:36 Uncaught TypeError: Cannot read property 'length'...

Hi all having following html: Url Edit Risk Tool Number Tool T R H Id Url Edit Risk Airbus Tool Number Tool T R H Id <script type="text/javascript"> $(document).ready(function () { // Init...

View Article


Proper syntax for applying DataTables

Hi guys; I am puzzled. When I first started using DataTables 11 months ago this was the proper format for applying datatables to a table $('#tblContractLines').dataTable({ "aaSorting": [] }); However...

View Article


Multi word not working for PHP

Hi guys, I've installed datatables with PHP and MySQL. Everything seems to work fine, except for the search function. In the example zero configuration page, you can search for 2 words or more. For...

View Article

Searching data-search attributes

Hello, I have a table, where some columns contain only check mark icon and no other content. To make these cells searchable I added data-search attribute on each td with the name of the field. It works...

View Article

bSelectedOnly still exports all (Datatables 1.10.3, TableTools 2.2.3)?

First column of my table has checkboxes that map to fnSelect and fnDeselect. This seems to work fine as the CSS classes are appearing as planned (ie the rows highlight in purple) when user...

View Article


Uncaught TypeError: Cannot read property 'length' of undefined...

I'm trying to do dataTables server side using version 10.4.1. I'm selecting data from different views with different columns and number of columns so it has to be dynamic. Some of them don't contain so...

View Article

Row Selection Not Returning a Row Id

I'm trying to implement multiple row selection in my table as documented here: http://www.datatables.net/examples/api/select_row.html I'm using server-side processing so when I send back the JSON...

View Article

I want the Processing sign to show up in the header but it doesn't. Why not?

I'm using datatables v1.10.4 and would like to show the processing sign in the header but instead it shows up in the center of the table. The problem with it being in the middle of the table is that if...

View Article


unable to create datatable from data revceived via ajax

Him Allan/all, Need urgent help!! I m fetching data from backend using ajax call. But I m unable to create datatable. html: Id Name Status js: var oTable = $('#partnerTable').dataTable({ "sAjaxSource":...

View Article


Datatables and Jquery

I am using datatables but it is not rendering with other libraries that are using script jquery calls. The culprits are below. Any help!? < div class="jumbotron"> <%# Date picker -...

View Article

Muliple server side call on initial page load

We are using server side datatable processing and passing following options: "bStateSave": true, "bJQueryUI": true, "bProcessing": true, "bServerSide": true, "sAjaxSource": "/proj/getServerData",...

View Article

oSettings.aoData[iRow] is undefined

Hello, I use jquery dataTables version 1.9.4. I have a dataTable with grouping and I display the row count of each group. This is the code causing the error: $(document).ready(function() {...

View Article

Export multiple row headers

After not finding a suitable answer/solution to the problem of TableTools only exporting 1 row of TH (header) data, I implemented the following code which handles exporting <thead>s with multiple...

View Article


Using AJAX Serverside - how to ignore first column?

Im using the AJAX serverside method to populate a datatable. Is it possible to have it to ignore every first column on each row when populating the datatable? (i.e. leaving first column blank and start...

View Article

List of configuration options, that can be only used at initialisation time

Hi together, which Datatables configuration options can be only used at initialisation time? thx regards

View Article


Issue in Exporting an Excel file when Pagination is enabled ?

Suppose i have 100 of records and after search only 25 records are remaining in 4 pages (pagination). when i export that table in Excel it exports only either 1st page records (i.e. 10 because page...

View Article

Unsorting a DataTable

I have a table that has been sorted and I wanted to simply un-sort it to put it back to the way it was before sorting. I specifically do not want to reload the whole table because then I will be losing...

View Article


Replace /n

Hi, I have a textarea field and want to show the Linebreaks also in the table. How can I replace the /n with <br>? Thanks Niko

View Article

I had used it with MVC 4 and C# and getting error

I had got the error as "Cannot read property 'length' of undefined", I am using Ajax with it but getting error, I had google but nothing working, Please let me know how do I resolve it.

View Article

How to do custom search on multiple datatable in a single page using date...

There are several date column fields present in two datatable . I want to do custom search on the columns where dates are showing . Any suggestion ?

View Article
Browsing all 35270 articles
Browse latest View live