Questions tagged as 'datatables'

0
answers

how can I create a search engine for 2 datatables?

I found this code var table1 = $('#table1').DataTable(); var table2= $('#table2').DataTable(); var table3= $('#table3').DataTable(); var table4= $('#table4').DataTable(); var table5= $('#table5').DataTable(); $("[aria-controls='DataTables_Tab...
asked by 24.12.2018 / 23:42
0
answers

Query works in mysql but datatables does not recognize it

I have the following query: $consulta = " select t.id, t.nombre_mes, t.valor, t.ano, t.procedimiento, t.folio, t.fecha_envio, t.etapa from( SELECT meses.id, meses.nombre_mes, hijos.valor AS valor, hijos.opcion AS procedimiento, pedidos.correl...
asked by 03.01.2019 / 23:05
2
answers

Select all rows of datatable

I want to add a checkTodo that marks all the rows of a datatable. each row has its own checkbox that is rendered according to an attribute called 'selectable'. At the moment I managed to totalize the amount of voucher selectable and the sum of t...
asked by 17.12.2018 / 12:32
0
answers

When I try to print a datatable using an ajax and with the .html function I get the internal server error?

Well, my problem is that when I try to print on the tbody of my datatble, the string information I get from my sql server query marks the internal server error, but not always, only when the text string is very long, for example if there are 50...
asked by 11.12.2018 / 19:40
0
answers

Datatables for going to bit crazy

I want to join the two codes but it does not work, can you help me? $(document).ready(function() { $('#tabla').DataTable( { "language": { "lengthMenu":"Mostrar _MENU_ registros por página.",...
asked by 03.12.2018 / 15:28
1
answer

Problems when querying Data with jQuery.DataTables ()

I am working with jquery.DataTables () in an Mvc application with Asp.Net I have implemented the data query through ajax, but I have an error and I can not find where it is, since according to the documentation the name of the action result t...
asked by 03.12.2018 / 15:16
1
answer

I try to load 4 thousand records in a Datatable and it takes several seconds

My problem is that when loading the BD records in the datatable it takes several seconds, eh I saw that you can only show the data you need to see and from there make a request for the other data but I do not understand how does that my code is...
asked by 30.11.2018 / 22:03
1
answer

problems when inserting new data to excel using datatables

I do not know how to explain my problem very well. I have never known how to do it with certainty. I will start by showing you my code where I ask the user to enter the following information: Name, last name, age and sex. These data will be s...
asked by 21.11.2018 / 19:51
0
answers

How do I make my page do not delay in loading since I have many records inserted?

As I do so that the website where I have many records does not take so long to load, currently its average reload is 30 seconds, that's a long time, the problem is not found in the server since that query when the debugging takes 2 to 3 seconds...
asked by 16.11.2018 / 23:28
1
answer

DataTable does not work when I use dynamic table by ajax

I am starting to use the DataTable pluggin with dynamic load of rows that I get from the server. The data is obtained by Ajax and displayed on the screen. The problem happens that the pluggin does not recognize these rows, although th...
asked by 15.11.2018 / 12:36