Questions tagged as 'datatables'

1
answer

How to correctly parse the response of an ajax request?

I am filling in a datatable but I would like to measure the length of the array that the query returns to me. In addition to this choose which elements of array I want to show and which do not. The code I use is the follo...
asked by 04.05.2018 / 17:31
1
answer

PHP DataTables Error

Hi everyone, I try to use dataTables with Php, from Mysql data, but I get the following error:    DataTables warning table id = example1-Request unknown parameter '0' for row 0 This is my code <table id="example1" class="ta...
asked by 03.03.2017 / 18:38
2
answers

Problem with selectable datatable rows

Good morning. I have a problem when it comes to obtaining the value of the selected rows of a datatable. I need to be able to select all the rows that I want (this is already working for me) and by pressing a button that shows me the value of...
asked by 15.01.2018 / 10:40
2
answers

Addition and Subtraction of the 'tr' in a table with JQuery

Hi, I am trying to add the tr of my detail table, as well as subtract when I click on the tachito icon. I'm trying with a for and it does not work for me THIS IS MY HTML TABLE <div class="col-xs-7"> <table id...
asked by 13.06.2017 / 18:58
3
answers

How to change my icon by clicking jquery DATATABLES?

I have a table which I have put an image as an icon (+) <--"abrir" , which when you click there throws me a child.rows showing more information, what I want is that by clicking automatically I change the image or icon for (-)...
asked by 01.03.2017 / 15:00
2
answers

How do I fill the columns of my datatable with different string type lists in C #?

I would like to know what is the correct way to properly fill a datatable I have, the question is that I must fill it with different lists where I have my information, now my datatble looks like this: What I want is that column 2 is at...
asked by 02.01.2019 / 22:38
1
answer

select row by passing a datatable id (Jquery)

I'm working with jquery datatable. I would like to be able to select a row (Add the classe seleted) but passing it an id. Let me explain, when I click on a row, it is shaded, I want it to do that but without clicking, for example, passing it...
asked by 19.11.2018 / 18:40
2
answers

Agreagar setinterval to row datatables

How could I integrate a setinterval of 1 sec to this: <div class="table-responsive"> <table id="listado" class="table table-striped"> <thead> <tr> <th>N° PROCESO</th> <th>TECNICO</th>...
asked by 21.11.2018 / 21:13
1
answer

How to correctly use the jQuery plugins?

It turns out that I'm doing a search menu, but the connection to the jQuery does not work to hide the content of it. When I look at the Google Chrome console, the following errors appear: jquery-3.3.1.min:1 Failed to load resource: net::ERR_FI...
asked by 30.10.2018 / 19:56
1
answer

dynamically align a column of datatables (Jquery)

I have a datatable table in which I show some columns or others depending on a variable. The problem is that by changing the number of columns, I can not do column alignment with the target. "columnDefs": [ {className: "dt-body...
asked by 25.09.2018 / 14:02