Questions tagged as 'jquery-datatables'

2
answers

Position all selects on index 0 with Jquery

Good morning! I have a question, and I wonder if anyone can help me. I have two selects on my page. I have a button to register a new record and another to edit each record. When I click edit, it opens a modal containing the informatio...
asked by 26.05.2015 / 15:12
0
answers

DataTable Jquery load Tools after ajax

I have a jQuery datatable that has the toolbar with .swf. When loading the page initially, the toolbar is displayed correctly, but I need to load the datatable when clicking on a link, where it is filled, but the toolbar does not appear. The...
asked by 19.06.2015 / 22:05
0
answers

Display jquery search element datatables in a specific div

How do I display the jquery datatables search box within a div ? My HTML table looks like this: <div class="row-fluid"> <div class="span4 pull-left"> <h4>Gerenciamento de Usuários</h4> </div&...
asked by 02.03.2015 / 00:44
2
answers

How do I put two Datatable on the same page?

The first table gets right but the second does not load the table without the attributes of the Datatable. How do I use both on the same page?     
asked by 17.01.2018 / 21:19
3
answers

Change the color of a button when comparing 2 attributes of a list with JQuery

I need to change the color of a button in a product list. However, I get in a variable another list with the product id only from the logged in user. Structure I get: [2, 7, 18, 21] // are the user ids of the logged in user Based on this...
asked by 13.12.2017 / 14:31
2
answers

Jquery Datatables pro phrase filter complete

I'm using Jquery's datatables, I always use it, but today I have a situation I did not find in its documentation. And the next, when the query is done it brings me the value of several fields comparing by words, I need the search to be done by t...
asked by 15.09.2017 / 19:57
2
answers

Is it possible to make colspan in DataTables?

I have the following structure in PHP that implements a table: foreach ($varConsulta as $lin) { $var1= $varConsulta[$i]['1']; $var2= $varConsulta[$i]['2']; $var3= $varConsulta[$i]['3']; $varFase= $varConsulta[$i]['FASE']...
asked by 21.01.2015 / 12:55
2
answers

Problems with Datatables using PHP and MySQL

I made a system, where user can create table for the bank, and tbm can create columns, so I do not know which columns were created, but with the bank script I can list the columns of this table I'm trying to mount my view table with datata...
asked by 18.10.2017 / 16:12
1
answer

Post via POST in Jquery

I'm working on an implementation of Datatables, but there was a need to send the id to do the filters: $(document).ready(function() { var dataTable = $('#employee-grid').DataTable( { responsive: false, "order":...
asked by 17.07.2017 / 22:50
1
answer

Inserting data-id and data-url into extra DataTable field

See this code defaultContent: '<i class="fa fa-close pull-right js-customer-delete"style="color: #0066FF; text-decoration: none; cursor: pointer; margin-left:10px"data-id=""data-url=""></i> <i class="fa fa-edit pull-right...
asked by 23.04.2017 / 21:39