Questions tagged as 'datatables'

1
answer

How to capture the id corresponding to the selected row from a Datatable?

I want to be able to capture the id corresponding to a row in my Server-side processing datatable , in order to delete and update the records, for now I only have the power to delete and it is that I am stuck in an error that when I...
asked by 01.06.2017 / 15:52
1
answer

How to remove scroll that appears when displaying a table within a Jquery accordion?

Greetings. If they are fixed when we click on table1 a table is shown and that's all fine. But if they are fixed after displaying the table, a non-pleasant space is generated (after the page) and that space appears until the second accordion...
asked by 25.01.2018 / 17:41
1
answer

Does not work @click de vue in datatables

I am using datatables server side of Yajra for Laravel and I have the following: var table = $("#dt_user_draw").DataTable({ destroy: true, processing: true, responsive: true, serverSide: true, ordering: false, "ajax": { "meth...
asked by 06.08.2018 / 15:45
1
answer

Populate data a datatable from a JSON

Working with ASP.NET MVC, I am using the library DataTable.net I am bringing data from the database through a JsonResult that returns the information in plain text. Method // GET: Cliente public ActionResult Index() { L...
asked by 07.12.2017 / 20:02
2
answers

colspan does not work on the Datatable in C #

For example, I have a datatable: <script type="text/javascript" class="init"> $(document).ready(function () { $('#table_1').DataTable( ); }); </script> <table id="table_1" class="table table-striped table-bordered" > &...
asked by 26.09.2016 / 05:31
1
answer

modal window from table

I have a table as shown in the image, and I want to show a modal window by clicking on the icon of each record, in the modal window it is necessary to search and display the details of the selected record as shown in the image ( is where I in...
asked by 14.12.2018 / 15:12
2
answers

Hide checkbox in jquery datatables

I have a problem when I want to hide checkbox inside a column of a table with datatables. The problem is that only the checkboxes that are shown in the table are hidden, if for example I am showing 10 rows, only the checkboxes of those 10 row...
asked by 15.07.2016 / 16:20
2
answers

How to format number (with points in values of one thousand (1,000) to a jquery datatable

I can not order a numeric column, I'm ordered but the points are taken as decimals and I need the format to be the opposite. Thanks for the help!     
asked by 27.10.2016 / 16:19
1
answer

How to obtain the data attribute of an input located inside a td of a datatable using Jquery?

I have the following datatable: $(document).ready(function () { tabla_productos = $("#idtabla_productos").DataTable({ "scrollX": true, "scrollY": "300px", "scrollCollapse": true, "searching": false, "paging": false, "ordering": fa...
asked by 06.04.2017 / 03:26
1
answer

Sort by colum

I try to sort by ACEPTACION , how do I do it? I want to use jQuery DataTables to use order: [ [3, 'asc'] let validacion = [1, 3, 5, 4, 2]; let personas = ["ana", "juan", "pedro", "maria", "gustavo"]; var html = "<...
asked by 19.12.2018 / 15:35