Questions tagged as 'datatables'

1
answer

I deleted the assigned values in a datatable, using ajax

I have the following html code <table id="idtabledetalleventa" class="table table-striped table-bordered dt-responsive nowrap" cellspacing="0" width="100%"> <thead> <tr> <th >Codigo...
asked by 03.03.2017 / 19:50
2
answers

Sort by date in datatables

I am trying to sort in a datatable by a date field but I do not get it. I've tried several plugins but none of them work properly. The example link is a simple datatable where the date field 4 is supposed to format it to the European date...
asked by 21.02.2017 / 14:37
1
answer

Modify data DataTable

Good morning, see if you can help me: I have an ajax request so what: function getData(){ $.ajax({ url: url_serv, type: 'GET', dataType: 'json', success: function(data...
asked by 27.01.2017 / 09:48
1
answer

Error "Uncaught TypeError: Can not read property '0' of undefined" in datatables.net when it fits a small screen (responsive)

I have my datatables functional when it is in a high resolution, but when it is on a small screen it does not capture the server data. Large screen: Small screen: As otherwise I would recognize each row correctly. Here's how I...
asked by 12.01.2017 / 08:09
1
answer

Initialize a datatable without knowing the columns

How can I initialize a datatable from a json array that I do not know how many columns it has? json = '[["DAT","XXXXXX","000000000","MA_","","21-07-2015","00:04:43","0","354345","94131","Datos","0.00000000"], ["DAT","XXXXXX","000000000","MA_"...
asked by 27.02.2017 / 18:19
1
answer

The filter does not work for selects in datatables

I am using the "datatables" plugin in a server-side way, it works perfectly but if I add the "select inputs" it does not work for me, just that option. I got the code from the following link: API link Here is the Ajax code: var tabl...
asked by 14.12.2016 / 02:05
1
answer

Why is my DataTables table not sorted or filtered?

here the code of my table var table = $('#table').DataTable({ "destroy": true, "responsive": true, "processing": true, "serverSide": true, "sAjaxSource...
asked by 21.11.2016 / 03:52
2
answers

fill HTML table with JQuery DataTable library with BD records

I'm doing a field edit through JQuery's DataTable library, the problem is that I have to feed the table through data I get from a DB, and I have not been able to feed that table through the library, What I want is to do something like this (exam...
asked by 11.11.2016 / 16:19
1
answer

Sort DataTable by CheckBox

Someone would be so kind to help me with a DataTable , I need to order the table according to the checkbox selected descending, that is if I select a items goes fence showing first as shown in the next example. link Create the...
asked by 09.08.2016 / 15:22
2
answers

Export dataTable to PDF and Excel

I need to export data from a dataTable to Excel and PDF but I have a problem. When wanting to add the Excel and PDF export buttons, the number of records selector disappears to show why that place happens to occupy the Excel and PDF buttons and...
asked by 15.02.2018 / 02:28