Questions tagged as 'datatables'

3
answers

Center span with image inside a column td

How can I center a <span class="glyphicon"></span> within a <td> of a table? It's a bit cumbersome to put them in topic ... I'm using Laravel 5.2 and Dataqueable from jquery. It is a column that I get values 1 or...
asked by 02.11.2016 / 21:43
2
answers

How to put ellipses in a text with JQUERY

I have a table which brings me from the database a description which varies the number of characters, the problem is that if a description has "1000" characters are shown in the table and that looks bad then I look for the way of being able to s...
asked by 25.01.2017 / 15:18
4
answers

Datatables jquery ajax error canceled

I'm doing a catalog of kardex of the employee where I have 2 instances of the datatables plugin jquery : The first request is done correctly but the second one sends an error ajax canceled . I am not very clear why this error is...
asked by 06.01.2016 / 17:57
3
answers

Change datatables language

I'm using jQuery's Datatables, something very simple and it works great. I have these bookstores: <script src="js/jquery.dataTables.min.js"></script> <script src="js/dataTables.bootstrap.js"></script> <!--botones...
asked by 16.07.2017 / 22:13
5
answers

Sort priority when making an update

I have the following table where I sort by priority ASC ---------------------- |prioridad|actividad | |---------|-----------| | 1 |act1 | | 2 |act2 | | 3 |act3 | | 4 |act4 | | 5 |a...
asked by 05.09.2018 / 17:11
2
answers

Because I do not calculate the rest of the inputs

I have a table and I am calculating the difference of hours but only calculates the first row of the table Here is my javascript code <script> //Creamos variables para recorrer fechas y agrupar total x día var afecha = new Array(...
asked by 29.06.2018 / 15:47
1
answer

Show quantity of items and search input in Datatable AdminLTE?

I am developing an application in Laravel 5.6 and implement AdminLTE , everything works correctly and implements the corresponding files of both js, css and the sample structure of the html. But my result is the following: This is my:...
asked by 13.03.2018 / 19:04
1
answer

Jquery dataTables with filter Combobox

I am using jquery dataTables and I want to add a filter combo for a specific field in the location after "Search" ... is this possible? I already saw examples that you can add comboxes in the footer, under each column of the table and filter in...
asked by 20.10.2016 / 16:38
1
answer

Sweet Alert on Modal Bootstrap

I have the following problem using sweet alert and modal bootstrap. It turns out, I make the requests through ajax and php, but the generated alert always shows me the independent success if the request to the server was successful or not. What...
asked by 05.11.2018 / 04:07
2
answers

Copy value to an input that is inside a footer of a datatable

I am using the jQuery DataTables and I am encountering the following problem: when I click on a button I need to pass a value with jQuery to the input that has the id "tipo_venta2" of the datatable's footer, but it does not work for me, I would...
asked by 09.09.2016 / 02:39