Questions tagged as 'jquery-datatables'

2
answers

Create Editable Table

I would like to create a table where your cells can be edited but meet certain requirements. What I have is this: HTML <table class="table table-striped table-bordered" id="vendaTabela" width="100%"> <thead> <tr&g...
asked by 26.02.2015 / 11:38
2
answers

Select a checkbox and do not sort the dataTables

I'm using dataTables and in one of the columns I've placed a input:checkbox so that the user can mark all columns or unmark, remembering that in the columns I have how to do the ordering, and in that column I also have this, since I mus...
asked by 12.03.2014 / 16:02
3
answers

DataTables highlight line with higher percentage

On my system I have a table mounted by DataTables . The data is received from the server via Ajax. Example of the data structure loaded in the table:    DDD | Processed | Approved | Percentage |       11 - 19 | 2.660 | 574 | 21.58...
asked by 01.09.2016 / 20:58
1
answer

add custom button column of datatables

I'm trying to add a button with id of user to datatables with serverside I made several unsuccessful attempts, if anyone can help me I appreciate it. This is my code datatables: $('#jsontable').dataTable({ "oLanguage": { "sUrl": "...
asked by 16.12.2015 / 01:52
1
answer

Load table with json using Datatables

I'm using the jquery Datatables version 1.10.7 plugin. I'm trying to load a table following the following structure: JSON { "d:" [ { "IdNotificacao":null, "Contrato":{ "id":631,...
asked by 11.06.2015 / 17:35
1
answer

How to create button with function to export the DataTable to (.csv) in jQuery?

I have the following button: $(document).ready(function() { $('#example').DataTable({ "dom": 'T<"clear">lfrtip', "tableTools": { "sSwfPath": "/swf/copy_csv_xls_pdf.swf" } }); }); <script src="https:...
asked by 12.03.2016 / 21:03
1
answer

Sort by number with DataTables

I have a problem with the DataTables plugin in the order of numbers. I have a list of numbers: 1 2 3 4 ... 10 11 12 The problem happens because of the digits. It sorts type 1 10 11 12 2 3 4 ... The correct order would be from 1...
asked by 01.01.2016 / 18:08
1
answer

Improve table header view using bootstrap 3.0.0, datatables and fixedHeader

I'm using bootstrap on a system, datatables and fixedHeader , I have three problems: I would need the table header ( thead ) to stop before the end of the menu, stay below the menu, it is stopping at the top of the page, can you...
asked by 07.07.2015 / 16:00
1
answer

Datatables processes only one request

So, I'm making a custom selects system with the datatable, but the request only processes once. Example of my php, js and html <div class="input-group has-feedback" id="divCidade"> <div class="input-group-addon"> <...
asked by 31.03.2017 / 20:26
1
answer

Is it possible to add a function in a json?

Let's get into the problem. In datatable.js, to display the columns I define as follows: "aoColumns": [ { "mDataProp": "IdProcesso", "sTitle": "Numero" } ] If you need to perform some function:...
asked by 22.11.2016 / 18:59