Questions tagged as 'jquery-datatables'

1
answer

Datatable with JSON

I'm doing a datatable with ajax return. $.getJSON("sql.php?operacao=usuario_lista&excluidos=false", function (data) { alert(data.users); $('#tabusuarios').DataTable({ "aaData": data.users, "aoColumns": [...
asked by 25.01.2017 / 19:49
2
answers

Call layouts within a modal

I have an application ready with layout itself, and inside this layout I use the fancybox. But now I'm forced to migrate to bootstrap and I'm using AdminLTE-2.1.1 to fit in what I want. The big question is to migrate the parts with...
asked by 22.11.2016 / 20:40
2
answers

Calculate date with JavaScript or otherwise, even in excel? [closed]

How to arrive at an end date from a start date multiplying by N weeks, not taking into account the last week of the year. I can even calculate the dates, but I can not deduct the last week.     
asked by 13.06.2016 / 02:34
1
answer

Datatable column filter asp net mvc5

I have a problem using the datatables column filter plugin, it does not report me an error, but it does not generate the filters either, it follows my code: <script language="JavaScript"> $(document).ready(function () {...
asked by 20.08.2015 / 16:13
1
answer

Too slow table using Datatable

I am bringing 3,000 MYSQL database records using a connection to PDO and PHP. The time to be taken costs around 40 seconds until all the data is presented. Is Datatable unable to bring data in pieces? Below is my entire code: -HTML-...
asked by 01.06.2018 / 14:46
1
answer

I need to change the border color of a cell in the datatable

I need every cell in the first column of the datatable to change color as the table is scaled. The color will be set as the table data is generated in the backend. Here is an example of how I need to: OntheleftedgeofthefirstcolumnIneedtod...
asked by 31.03.2018 / 03:03
1
answer

Is it possible to generate excel / csv or pdf from certain columns of a DataTables table?

I have a Table: <table class="tabelaRelatorioPausas table table-condensed table-striped table-hover table-responsive " cellspacing="0" width="100%" > <thead>...
asked by 14.08.2017 / 22:03
1
answer

Remove Row DataTable by ID

Is it possible to remove a row from the datatable by id? I have a confirmation mode asking if the user wants to delete. If you click yes, it calls a delete function. $('#confirm-delete').on('show.bs.modal', function(e) { var data = $(e.rel...
asked by 26.08.2016 / 15:27
1
answer

Export Datatables

I use the JQuery Datatables plugin , and would like to export the data (CSV, Excel, PDF ...) of the tables through custom buttons , instead of the buttons that the plugin itself offers, is it possible? In the red rectangle, the buttons of th...
asked by 05.07.2016 / 20:17
1
answer

How to load a table using datatables ajax?

I'm trying to load a table using the datatables component. The return of this ajax request is a json object in this format: data = { "CLIENTES": { "0": { "ID": "1", "NOME": 'GABRIEL' }, "1": { "ID": "2",...
asked by 25.02.2016 / 13:13