Questions tagged as 'jquery-datatables'

1
answer

Row with details in Datatable

Colleagues, I initialized the datatable to show no information, and put a click event to display the details of each row. However, when you click on this event, the datatable is modified and the details are displayed, such as "Show 10 entries",...
asked by 28.03.2018 / 14:57
0
answers

Calling the datatable api changes the startup properties

Colleagues. I have a datatable problem. I started by setting the properties: processing: false, serverSide: false, searching: false, bPaginate: false, bInfo:false And I try to use api for the function: var api = $('#tb...
asked by 29.03.2018 / 14:53
0
answers

Populate Select2 With Data Attributes HTML5 values Laravel Collective

I'm having trouble populating a Select2 Multiple Values field with data from a Data Attributes, the fields like Name and description etc are being filled in, just the Select not !! WhenIclicktheeditbuttonIwouldliketogetthedatatofilltheselect...
asked by 19.03.2018 / 14:21
1
answer

Problems with Jquery Table!

See the code below: $(document).ready(function() { $('#table_busca').DataTable(); }); <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script><scriptsrc="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0...
asked by 12.02.2018 / 12:36
0
answers

Error when using Select2 with DataTables / Bootstrap

I was normally using Select2 with Bootstrap, without any errors on the console. The Head looked like this: WhenIputDataTables,Istartedtogetthiserror: Andhowistheheadwhenitgavethiserror: IdidnotevenuseDataTables,itonlyincludesthelinksinthehead.W...
asked by 09.02.2018 / 19:12
0
answers

DataTable responsive, child duplicate

On the client page I have a table that uses the DataTable plugin, but this table is bugging when it is mobile. Follow the table's HTML code: <div class="dataTable_wrapper"> <table width="100%" class="table table-striped table...
asked by 02.02.2018 / 16:24
0
answers

DataTables count per group

Has anyone managed to do a row count per group with dataTables? Considering this structure: $('#tabela').DataTable({ "lengthChange":false, "pageLength": 500, "filter":true, "responsive":true,...
asked by 23.01.2018 / 19:22
1
answer

Popular DataTables through a JSON variable

I have the following function which returns data from a query in the database and stores it in json format in the msg variable. $.ajax({ type: 'POST', dataType: 'html', url: page, data: {idtabela: idtabela},...
asked by 17.01.2018 / 19:44
0
answers

Recover Json after success and use in PHP

I have the javascript code that returns me in a variable 'msg' the result of a query made in PHP. var page = "busca.php"; $.ajax({ type: 'POST', dataType: 'html', url: page, data: {idtabela: idtabela},...
asked by 16.01.2018 / 21:02
0
answers

Select option value - Get from datatable

I would like the select option to take the fields of a column in the table My select: <div class="dataTables_lenght"> <label> <select id = "select1 " name="select1" aria-controls="example" >...
asked by 12.01.2018 / 14:57