Questions tagged as 'datatables'

1
answer

Add image to my DataTable

I adapted a pagination and filtering for a db of the work, but it has a column of images that will be sent from the form, but when I open it I see all the fields well and in the photo just the image path comes to me I have not found how to corre...
asked by 07.08.2017 / 13:55
1
answer

Create a json object for data table

I am currently working on a project where the datatable library is used, the query is done using PDO where I already bring the arrangement with the records of the query. So I bring the records of the consultation with PDO: $prep = $this-&...
asked by 28.06.2017 / 23:16
1
answer

Filter table according to the sectioned value of a select

I'm doing a filter of select of an individual column so that when I hit that value, I return directly to the result table. I'm working with a datatable jQuery and the only thing that has helped me is to search with a i...
asked by 20.06.2017 / 14:38
2
answers

How to join 2 columns in a datatables

What happens is that when I fill a table using the data tables plugin I do not want for example the paternal or maternal surname or the second name to appear in separate columns, but rather everything appears in a single column, How can I join t...
asked by 19.06.2017 / 23:14
1
answer

Retrieve variable sent in JSON in datatables

Dear programmers, I come to you based on the following problem. I work on a system and I'm using Datatables. So far I have not had major problems, but now I'm with one that is pulling green hairs. I have in my mysql Database, a table called labo...
asked by 11.06.2017 / 03:32
2
answers

Query call data by selecting a datatable AJAX field

Hello I have the following question, I call the data in my database through the current year, with the following code: <script> $(document).on("ready", function(){ listar(); }); var listar =...
asked by 14.09.2017 / 17:43
1
answer

SItuar a row to the beginning of a dataTable always [closed]

Good morning my people I would like to know if they have any example of how to put a row always at the beginning of a table made with the dataTable plugin and looked for several ways but I can not help it please?     
asked by 18.05.2017 / 00:11
1
answer

Select Where datatables with php and Ajax

I have a system that allows you to upload documents and for each document write your comments, this part already works but I need to show the comments that were written for that document using Datatable This is my code:    Table.php Thi...
asked by 29.03.2017 / 17:36
1
answer

remove datatable alerts 1.10v?

There is a configuration to remove or hide alerts from Datatables 1.10v, $('#tabla_repuestos').DataTable( { "paging": false } ); Example     
asked by 05.04.2017 / 20:21
2
answers

How to use ng-click in this way?

It's probably wrong to do it this way, but only then did I find datatable functionality. <div class="panel-body"> <script type="text/javascript"> jQuery(document).ready(function($) { $("#example-1")....
asked by 10.03.2017 / 02:58