Questions tagged as 'datatables'

1
answer

How to reload a datatables in angular?

I want that when I press any key in the field filter_campo recharge the table, I tried with dtOptions.destroy; and dtOptions.renderer; but none of the 2 recharges the table. This is the library I'm using: link cate...
asked by 20.09.2018 / 22:49
1
answer

Javascript functions that execute part of other functions

I have a function that adds some details to the DataTable, the function is activated by a button that is to add, then hide the modal. what I want is that the user has the option to continue adding details a button that adds the details to the ta...
asked by 26.04.2018 / 20:18
2
answers

How to search in datatable and get only the cell searched?

I want to search your search engine and get only the cell you are looking for, not the whole row, what I want to achieve is equal to this link the list of users is in a table. $(document).ready(function() { var table = $('#ex...
asked by 26.01.2017 / 04:41
5
answers

How to refresh a datatable and not the entire window?

I am developing a project with bootstrap, php pdo and mysql, I have a datatable that reads from mysql, I have a button that says "New Revenue", it already makes the entry but I want to refresh or update the datatable so that it loads the new dat...
asked by 02.10.2016 / 02:42
4
answers

How to hide columns of a datatable in case it shows for mobile with boostrap?

For example I have a datatable of 5 columns, which are all with the definition of col-lg, but when I want to try or see it on a cell phone (col-xs), I would like it to hide the last three columns. How could you do that? Could someone show you...
asked by 07.03.2017 / 15:24
2
answers

delete data from a DataTable ()

How can I delete data from DataTable() ?, when instantiating    var table = $ ('# sampleTable'). DataTable (); marks me as an error    TypeError: $ (...). DataTable is not a function Is there a way to even remove the functio...
asked by 13.03.2018 / 17:50
4
answers

How to put a Fontawesome icon on a DataTable button? - Angular

I'm used angular-fontawesome and datatables and I want to create a button in the table, but instead of text I want to place an icon using fontawesome . I have the following code: this.dtOptions = { //... buttons: [ //......
asked by 04.05.2018 / 19:04
2
answers

Add class to the table

I have a series of tables generated by this api.    In its version 1.10.13. The headings should be centered and the body ones aligned to the right. var Dataset = []; var tituloMeses = []; tblTotales = $('#tblTotales').DataTab...
asked by 01.06.2017 / 21:09
2
answers

jquery DataTables does not allow opening modal dialog after 10 rows

I have a problem when using jquery Datatables , I do not know why it does not allow me to open modal dialogs that are called after row 10, everything works normal in rows 1 - 10 of the table, however I do not know what happens that all the othe...
asked by 10.05.2016 / 00:44
1
answer

How to use the hotkeys with Jquery?

I would like to know how to use the quick access keys in Jquery. Currently for click events a button is used in this way: $("#id_boton").on('click', function (e) { //codigo ... }); In the case of the row of a datatable: $('#idtable...
asked by 28.03.2017 / 04:57