Questions tagged [datatables-1.10]

DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, and will add advanced interaction controls to any HTML table.

DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, and will add advanced interaction controls to any HTML table.

DataTables 1.10 is all about making it easier, for yourselves, the developers using DataTables, to produce high quality interactive tables for your end users. A detailed list of the new features is available including:

  • New flexible API
  • New styling options
  • camelCase notation
  • HTML 5 data-* attributes for orthogonal data
  • Currency, percentage and formatting number sorting support
  • Enhanced paging control
  • Improved accessibility

Source: http://datatables.net/

813 questions
4
votes
0 answers

how to extend drill down table to third level in data tables?

I referred the following code and successfully obtained drill down table to two levels in data tables. https://jsfiddle.net/karlnicholas/2gc3r7vv/ now I want to obtain drill down table upto 3rd level, so i tried to extend the code in by adding…
4
votes
4 answers

with DataTable - Uncaught ReferenceError: table is not defined

I have the following script, was already working perfectly, then the need arose to put a second level in each record of the table. In the first column I have a button that when clicked will open the details of that record, just like the one in the…
Will
  • 221
  • 1
  • 2
  • 15
4
votes
1 answer

Copy a Shiny DT row to users clipboard

Is there a way to have the selected row(s) in a shiny datatable (DT) be available for the user to copy (Ctrl+C) to their clipboard. Ideally it would also supply the data table's column names or…
theGreatKatzul
  • 437
  • 1
  • 5
  • 16
4
votes
2 answers

Is there a better/efficient solution to style each DataTable cell based on its value?

I have a DataTable into which the values are dynamically inserted. Based on each value of the cell, I need to change its background-color and add some other CSS. I do have a solution here JSFiddle Although,it seems to be slow with large data,is…
Apeksha
  • 259
  • 1
  • 3
  • 15
4
votes
1 answer

DataTables Searching and Sorting not working for dynamically added Data

I have a DataTable where I need to insert/append data dynamically from an AJAX call. Searching and Sorting on this kind of DataTable does not seem to work as intended. Here is my JSFiddle Code: $('#example').DataTable( { "iDisplayLength":…
Apeksha
  • 259
  • 1
  • 3
  • 15
4
votes
1 answer

Validation with inline editing in jQuery datatables after trimming spaces

Using the jQuery datatable editor plug-in, the following code works as intended. It performs specified validations (some of the fields have been omitted for brevity). Editor::inst( $db, 'file_upload' ) ->fields( Field::inst( 'id'…
Tiny
  • 27,221
  • 105
  • 339
  • 599
4
votes
1 answer

DataTables 1.10 column count

I want to add an additional that will contain my filters for that column in datatable. I am able to do that using the following script. (For this to work I should have thead defined in dom) var tableid = $('#dataTableBuilder'); num_columns =…
karmendra
  • 2,206
  • 8
  • 31
  • 49
4
votes
1 answer

How to render radio button group with the jQuery DataTables

I'm using jQuery DataTables and need a way to render a radio button on a column in a datatable, this render must be through the JavaScript and not from JSON result.
Osama Sbieh
  • 255
  • 1
  • 5
  • 13
4
votes
1 answer

Yajra laravel datatable package not working properly in laravel 5.1 with mongodb

I have installed yajra/laravel-datatables-oracle package for supporting serverside datatables in laravel 5.1 with mongodb 3.3 as database. I have connected laravel 5.1 with mongodb through jenssegers-mongodb package. It is connecting successfully ,…
Haseena P A
  • 16,858
  • 4
  • 18
  • 35
4
votes
1 answer

Get all rows from DataTable including those filtered out

I am using the excellent jQuery Datatables plugin. I have a simple table, where the first column of each row is a checkbox with class .chk-items. I want users to be able to select a number of rows, and then perform an action on all those rows which…
Si Stone
  • 121
  • 2
  • 12
4
votes
1 answer

Datables Searching / Filtering with rendered data

I am trying to apply filtering to a dataTables table using select boxes. I found the following code which allows me to setup the select boxes and filter based on the column data: https://datatables.net/examples/api/multi_filter_select.html This code…
Josh
  • 55
  • 1
  • 4
4
votes
3 answers

jQuery dataTables 1.10.5 custom properties

I'm trying to set a custom property and be able to access/edit it later. Is this even possible, i've seen in older version one can use fnSettings but how do I use this in 1.10.5? $('#table').DataTable({ customProp: 'Hello World' }); Then…
bstras21
  • 981
  • 3
  • 11
  • 32
4
votes
2 answers

How to use different values for sort and display in DataTables 1.10

I've upgraded to DataTables 1.10 and am having trouble using column.data or column.render to use different values for sort and display. The data looks like: [ { "title":"Overview Report: (2014-07-12 11:49 - 2014-07-12 23:49)", …
Scott Glew
  • 158
  • 1
  • 7
4
votes
3 answers

statesave not working with datatables when rows are added dynamically

I am using DataTables and I initialize the table with $(document).ready(function() { $('#example').dataTable( { stateSave: true } ); } ); I populate my table dynamically using $('#example').row.add(...) When I reload or revisit my…
user3871397
  • 81
  • 1
  • 2
4
votes
1 answer

Summing a filtered column in DataTables

I'm trying to sum the results of filtered columns in DataTables. I've viewed the questions asked on their website and folks have had success using this method. However, similar code for me produces 'Uncaught TypeError: undefined is not a…
Isaac Askew
  • 1,281
  • 2
  • 17
  • 30