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
6
votes
2 answers

DataTables Export Button Issue - Button Not Displaying

I'm trying to display an export button in the center of the screen and below my DataTable. The button isn't displaying at all. I've downloaded the DataTable files and they are hosted on my server (hence the local references).
zzMzz
  • 467
  • 1
  • 5
  • 21
6
votes
3 answers

Datatable sorting asc icon still appear on first column even being disabled

Hi I have the following table design. I dont want the first and last column to be sortable. I have set accordingly.But the icon asc still appears on the first column but not on the last column. But when I try to sort the second column it goes off.…
user5313398
  • 713
  • 3
  • 9
  • 28
6
votes
1 answer

DataTables: Uncaught TypeError: Cannot read property 'buttons' of undefined

I am having trouble setting up a custom dataTables that uses the Buttons plugin. I can set up a custom default dom layout that works: //vanilla dom (frtip...) $.extend($.fn.dataTable.defaults, { dom: 'frtip' }); But if I try to include the "B"…
Jeromy French
  • 11,812
  • 19
  • 76
  • 129
6
votes
4 answers

how to exclude last column in jQuery DataTable

This is NOT a duplicate of the other question. Stop flagging this! I am not using table tools I am using jquery datatables 1.10.*. And also using the buttons for csv, xls, pdf and print options but without table tools. var uTable =…
CodeBriefly
  • 1,000
  • 4
  • 16
  • 29
6
votes
3 answers

DataTables from Ajax source order-by data-order and display formatted date

Basically I want to pull data from ajax into my columns, but I want the cells in the columns to have the data-order attribute on them with the value from the ajax call and use moment.js to format the data in the cell. I'm assuming this is the best…
Nicekiwi
  • 4,567
  • 11
  • 49
  • 88
6
votes
3 answers

DataTables: Columns with dot (.) in header not displaying correctly

DataTables seems to treat dots (.) as a special character and doesn't display the columns, which have them in the header. Is there any solution how to keep the dots and use some sort of escape character? The error is: Requested unknown parameter…
Peter G.
  • 7,816
  • 20
  • 80
  • 154
6
votes
1 answer

How to fix scrollX movement issue in jQuery DataTables on mobile devices?

I have used below code to simulate fixed header with vertical and horizontal scroll bars. See example on jsFiddle. $('#liveTable').dataTable({ 'bSort': false, 'destroy': true, 'aoColumns': [ { sWidth: "85px",…
RGS
  • 5,131
  • 6
  • 37
  • 65
6
votes
2 answers

Tooltip doesn't work on datatables child rows

Bootstrap Tooltip doesn't work on child rows with jQuery DataTables. With fnDrawCallback it works on usual rows, but it has no effect on child rows, and I have no idea how to make it works. "fnDrawCallback": function( oSettings ) { …
Alex01
  • 330
  • 3
  • 14
6
votes
1 answer

Difference between aoColumnDefs and aoColumns

Difference between aoColumnDefs and aoColumns in datatable jquery plugin?
Gmv
  • 2,008
  • 6
  • 29
  • 46
6
votes
4 answers

How to disable DataTables paging after initialization?

I have a DataTable with pagination enabled and I need to disable this setting and show all the results without pager by pressing a button. I'm trying to access the already defined settings, change the paging to false, and redraw the table, but it…
chimos
  • 664
  • 2
  • 14
  • 34
6
votes
2 answers

How to dynamically update jquery datatable using js array as data source

How to dynamically update jquery datatable using js array as data source. When user click the update button a new js array should be added current data source and it should reflect on jquery datatable.
Ranjit Jena
  • 71
  • 1
  • 1
  • 5
5
votes
4 answers

How do i color each cell based on condition in Datatables.js after rendering the table from json data?

var dataset = []; var columns = sfdata.columns sfdata.data.forEach(function (item,index) { var n2 = item.items dataset.push(n2) }); $(document).ready(function() { $('#example').DataTable({ data: dataset, columns: [ …
5
votes
1 answer

Delete button in Yajra Datatables in Laravel 5.7.9

Hallo I have the MemberController with this action: public function anyData() { $members = DB::table('members') ->select(['id','email','firstname','lastname','address','zip','city','phone','mobile','work','birthdate']); …
m.Sarto
  • 179
  • 3
  • 16
5
votes
3 answers

Jquery datatable Sort not working for Date Column?

I Have a jquery datatable where date column format is Feb 16, 2018 but when it is sorted it is not getting sorted correctly. I have used all date related column types mentioned Here But Nothing seems to work. How can I resolve it? Here is the…
user9869955
5
votes
1 answer

Implementing custom search in datatables.net with angular 4

I'm trying to implement a simple custom search on a column. This is well documented at https://datatables.net/examples/plug-ins/range_filtering.html. However my (so far) only problem is accessing the $.fn.dataTable.ext.search array, to add and later…
Michael Sørensen
  • 395
  • 1
  • 3
  • 14
1 2
3
54 55