Questions tagged as 'jquery-datatables'

0
answers

How to save the current page from a dataTable to a variable?

I would like to save in the page variable the current page value of a table using the DataTable plugin, because of their documentation I believe it is more or less like this, but it is not working. var table = $('#myTable').DataTable(); var pa...
asked by 26.07.2017 / 21:30
2
answers

dataTables does not sort numbers correctly with string

I have a table where I use the dataTables plugin and in some columns (in several of them) have values that contain numbers + string. An example column: Itshouldbesortingfromhighesttolowestwhenyouclick,butbyclickingonthecolumnitbringsm...
asked by 28.06.2017 / 22:18
1
answer

DataTable sorting problem in the Brazilian standard of numerals

I have a problem, I bet many have already been through this situation. We know there are several format patterns in different countries, I'm using a well-known front-end plugin when dealing with tables, which is the datatable, and it has several...
asked by 26.05.2017 / 19:01
2
answers

jquery datepicker is always visible

I'm trying to use the jquery datepicker, but every time I create it it always pops up, as if it had statically there. Example of what is happening, and not appearing only when I click. link     
asked by 26.05.2017 / 21:05
1
answer

Custom buttons and pagination together in Datatable

Use the DataTable to create tables. I need to put the pagination at the top of the table too. However, I already have export buttons, so I can not put both. Does anyone know if it is possible and how? Follow the code in my table. this.dt...
asked by 05.06.2017 / 16:23
1
answer

customized filter range of numbers datatables

I'm trying to make a custom filter by selecting a range of numbers with the datatables and only works once. I tried in many ways and none worked and searching I found nothing, so I come here to ask for your help. <select id="filtro1">...
asked by 17.05.2017 / 05:48
1
answer

Generate sql from a return of a js

Good morning guys over stack. For some time now I've been hammering to find a solution to a problem that has appeared, that nothing comes up in my head. I have a form, where this form will make a filter in the js datatable. This datatable I u...
asked by 18.04.2017 / 15:22
0
answers

how to get the return of an array sent by a datatable ajax?

I'm using datatables to show data from my table ... and in it I need to do some custom custom filters. I basically, until then, I'm sending the request as follows: $('#btnFiltro').on( 'click', function () { // for text boxes var dados...
asked by 12.04.2017 / 21:35
1
answer

Library Datatable giving conflict in Other script

I use this library below to run my tebela features <script src="tables/datatables/assets/custom/js/datatables.init.js?v=v2.1.0"></script> Plus this script below only works when the above library is not present. Removing it work...
asked by 19.02.2017 / 21:45
0
answers

load records without expanding the table!

Good morning! I have a table with 9000 records, what happens is that when opening the page of the table it takes to load the records with this it extends showing all the 9000 scans, so after a while it decreases showing only 10 lines of course s...
asked by 20.01.2017 / 16:23