Questions tagged as 'datatables'

1
answer

How can I reload a table with javascript or jQuery in ajax?

I would like to reload a DataTable after the confirmation of a modal and thus add or remove some checkboxes, but every time I do it, another table is generated on top of the other, and the Datatable is unconfigured. (I am using this after the c...
asked by 12.09.2018 / 17:46
1
answer

how can I add up within a datatable

I have the following code where I walk with a while but I want in each segment of a AREA to put a row with its total and then continue with the rest Here my code $resultado = $conexion->query("SELECT Det.OP,Det.ID_Area,De...
asked by 17.08.2018 / 19:47
1
answer

How to send parameters by ajax using datatable in laravel?

JavaScript code: function activar_tabla_listasedes() { var codigo = 105147000738; $('#tablesedes').DataTable({ processing: true, serverSide: true, pageLength: 5, language: { "url":...
asked by 14.06.2018 / 16:22
2
answers

Is it possible to save the selected number of records in a datable so that when you log in again it is the same?

As the question says, I'm looking for some way to save the selected records of a databtable, something like staying logged in from facebook. I explain myself in a better way: if I see the records of a table, initially I show 10, I mark the op...
asked by 14.06.2018 / 07:13
1
answer

JQuery DataTables load json, but do not populate the table

JQuery DataTables loads json, but does not populate the table. This is the code: <table id="tabla" class="table table-hover" cellspacing="0" width="100%"> <thead> <tr> &l...
asked by 30.07.2018 / 08:30
1
answer

Intval () in php

I have a piece of code that is used in Datatables server side, and I do not know what this function is for, since it is inside the answer, but not in the library. $output = array( "draw" => intval($_POST["draw"]), "recordsTo...
asked by 28.07.2018 / 16:51
1
answer

Add products automatically by means of bar code scanner input

I have a problem, what I need is the following, I have an input where I would like to put the corresponding product code automatically to the table below, as shown in the image, as Could I achieve that? Assuming that it is the barcode of the pro...
asked by 16.10.2018 / 22:38
1
answer

Detect change in datatables select

I'm trying to integrate datatables into a project I have with materialize , however the design they have is quite different from materialize , researching me I found some good examples but with details, so I started playing with datatables...
asked by 12.04.2018 / 04:57
1
answer

How to configure Data table Jquery?

Good to know if you can configure Data Table and how to implement it but I wanted to know if you can choose what things to use if I only want the page because I only leave the page if I only want the search engine that only the search engine tri...
asked by 15.04.2018 / 17:17
1
answer

Why does my onclick event mark me as undefined in my datatble?

What I want to do is call an onclick event with different parameters in each of my rows. Datatble Code: $('#MainContent_tabla').DataTable({ columns: [ { title: "Nombre" }, { title: "Id del Usuario" },...
asked by 22.05.2018 / 19:09