Questions tagged as 'jquery-datatables'

1
answer

Slow loading with JQuery DataTables plugin

I'm using JQuery DataTables on a small system and everything was fine until I came across a listing of almost 2500 records ... The point is that it takes some time for the information to be loaded and adjusted in the DataTable, which causes i...
asked by 09.08.2016 / 15:04
1
answer

How do I include a column with a checkbox for all rows in the DataTable?

I would like to put a column at the end with a checkbox or toggle switch button for all lines coming from an ajax call. I was able to put by sDefaultContext and mRender, but the checkbox does not work, it does not recognize the click. Does...
asked by 07.12.2015 / 14:40
1
answer

Linq to SQL - Dynamic ordering by column index

I'm using a component called datatables.js ( link ) to display my tables and it has the ServerSide strong>, which I call, in Ajax, my list from somewhere. It sends the ordering, meaning by parameters. It sends the Index column to be sorted....
asked by 11.12.2015 / 20:34
1
answer

disappear a button

I have a code where it creates a table if it has a record in the database. In this table, in the last column there is a button that when clicking opens a more detailed screen on that row of the table. I need to make this button appear only in th...
asked by 21.07.2015 / 19:40
1
answer

Filter with external form with jquery datatables

I'm trying to make an external filter from an external form Until then, for a simple generic search, jquery datatables uses the parameter 'sSearch' For this, I just do var grid = new $.fn.dataTable.Api('.e-grid'); grid....
asked by 14.04.2015 / 13:57
1
answer

dataTables aoColumnDefs mRender

What would be the right way to do this: var oTable1 = $('#tabela-agenda').dataTable({ "bProcessing": true, "bServerSide": true, "sAjaxSource": "cadastroCarregaRegistros.php", aoColumnDefs: [ { "aTargets": [...
asked by 04.12.2014 / 23:26
1
answer

Sort component DataTables by Date

I'm using the DataTables compiler where it returns the birthdays for the month. I am ordering on my controller by day, and it works correctly on a regular table. Is there a way to change the dataTable to sort as it receives the controller data...
asked by 23.01.2015 / 12:48
1
answer

Checkbox with DataTable in table with Paging

I'm doing a table with DataTable and paging, but I need it to have a checkbox on each line. The problem is that when I have to select all, it only selects the first page, the other ones do not take effect. Follow Jquery: $('#selectAll').cha...
asked by 18.09.2014 / 20:01
1
answer

How to add a button in the columns in the datatable

I'm trying to add some buttons in the DataTable using columnDefs , but I can not, and when I remove some columns, it does not align in the order My current code is this: var grid = $("#grid").dataTable({ "language": { "url...
asked by 21.08.2014 / 17:24
1
answer

How to return a column's actual value in jQuery datatables

I'm feeding my table through ajax and customizing the return. In the status (0 or 1) column I used "fnRender" to return an active or inactive label according to the value, but I need to use this same validation to show the Dis...
asked by 10.04.2014 / 20:01