Questions tagged as 'datatables'

1
answer

filter datatable by date range

I have this datatable: $(document).ready(function() { $("#Date_search").val(""); }); var table = $('#tabla').DataTable( { deferRender: true, "autoWidth": false, "search": { "regex": true, "caseInsensiti...
asked by 03.08.2018 / 10:53
4
answers

Loses the css after refreshing datatable

I have a datatable in which in a column there is a select2 , this select2 I have assigned a color according to the selected value, for it to bring me the data of that column I call a function that checks according to the id o...
asked by 22.12.2017 / 13:41
1
answer

Confirm button "delete" in CRUD

Good afternoon, I have a code that works with an id="confirm" so you have to confirm before deleting a record from a CRUD using datatables. The problem is that since it is a crud, it can not work with ID's since there would be several elem...
asked by 20.12.2017 / 20:31
1
answer

Is it possible to place a background image on a table using the jquery datatable plugin?

I have tried the following ways without result ... ... in the body of the table <tbody background="./images/credibanco.jpg" style="background-repeat: no-repeat; background-position: center center;"> <?php require_once '../Co...
asked by 03.05.2018 / 21:17
3
answers

How to reload data table when closing a modal?

I use datatable to list some data brought from a database which I have a button to edit, that when I press it shows me a modal window, which I look for the form that was just updated that table is updated without having to reload the page...
asked by 14.02.2017 / 23:48
1
answer

jquery DataTables.js can display a table vertically?

I am working with jquery DataTable but I must show my table vertically, that is, the columns as rows, for example:     
asked by 05.10.2016 / 18:38
1
answer

How to select multiple rows in the Data Table jQuery and obtain a data for each selected row?

How can you select multiple rows of a Data Table jQuery, and get the data of the first column of each row selected ????     
asked by 17.08.2016 / 17:40
1
answer

Is it possible to create a table in Angular DataTables with a factory?

I'm using the famous angular-datatables plugin that combines Jquery Datatables with Angular. I just learned how to use a factory to fetch data from a JSON file. My question is: Could you use a factory on angular-datatables to use it as...
asked by 21.06.2016 / 17:45
1
answer

How can I put the functions of Export in Datatables laravel

I have this little problem with the datatables, I can not put the elements to export Try using this example Datatables Export But I could not, I use laravel 5.5 and well this is what I have This is my driver use Illuminate\Ht...
asked by 21.10.2018 / 03:37
1
answer

DataTables warning: table id = dataTable - Invalid JSON response (resolved)

I have the following code where I make a query. include_once 'conexion.php'; $sql = "SELECT * FROM herramientas"; $resultado = mysqli_query($conn, $sql); if (!$resultado) { die("Error"); } else { while ($data = mysqli_fetch_assoc($...
asked by 31.07.2018 / 17:02