Questions tagged as 'jquery-datatables'

1
answer

How to ignore first tr in search in jquery.datatables?

I have a table where the first <tr> I put an image, if when I go to search comes the image name together. For example: in the first line of the table the img is named head.png and the rest of the line does not have...
asked by 02.12.2017 / 01:00
0
answers

How to sort a DataTable (jQuery) column by day of the week?

Coming from a query using CodeIngniter, data related to the day of the week is converted into the native query: [...], Case when DATEPART(DW, cast(registro.data_registro as date)) = 0 then 'Domingo' when DATEPART(DW, cast(registro.data_...
asked by 01.12.2017 / 17:32
1
answer

How to use DataTable Plugin (Jquery) with Node.js

I'm working with node and express and need to populate a table with information that comes from a SQL database. I run my code on page get like this: app.get('/Home.ejs', (req, resp) => { SQL_Server(Seleciona, (rec) => { resp....
asked by 24.11.2017 / 16:40
0
answers

(Flask) Ajax JSON with JQuery-Datatable

Good luck. I'm trying to show my data (JSON) in a Datatable table via Ajax. The HTML is: <div class="x_content"> <table id="exemplo" name="exemplo" class="table table-striped table-bordered">...
asked by 20.11.2017 / 17:11
0
answers

Datatables + web2py

I have a table that shows results of a search in the database and I use the Datatables plugin to assemble the pagination. The problem is this: if you pass 500 records the business is slow (Almost every search I make passes easy 500 records)....
asked by 08.11.2017 / 16:45
1
answer

Sort dates in DataTables

I'm using DataTables.js to render my tables, the problem is that the date displayed in the table is already converted to d / m / Y and if I click reorder by column it will not display the data correctly, you can sort in ascending / descending or...
asked by 14.09.2017 / 21:35
1
answer

Get values typed into inputs inside datatable

I have a datatable and in each line I have 3 inputs (text, datepicker and select) and a button, which will send PHP, to record what was typed or selected in the inputs of that row. What I'm trying to do is grab the information from the lin...
asked by 12.09.2017 / 15:43
1
answer

Column index in datatables laravel

When I did not load the data dynamically into the table I used this way to create the index column: link p> t.on( 'order.dt search.dt', function () { t.column(0, {search:'applied', order:'applied'}).nodes().each( function (cell, i) {...
asked by 23.08.2017 / 18:26
0
answers

Optimize DataTable

I'm using DataTable to render my tables. Home But now we have more than 1mi of data in the DB. Could someone help me with this? I'm trying to use the DataTable documentation but I'm not getting it. Actually I did, but I realized that in one of t...
asked by 16.08.2017 / 22:38
1
answer

How to select rows in a table?

I'm working on a web system and would like to create an interactive table on a page. Above the table, I have 4 buttons and would like to give them functionality. I would like to be able to select a row from the table to edit or view or select mu...
asked by 04.08.2017 / 17:04