Questions tagged as 'datatables'

2
answers

This syntax is valid in jquery?

I have this code, so in javascript there should be a return true and return false, but in this statement there is only one false return, the return true is implicit? if (_form.find ('# name'). val () === '') {             _form.find ('# name'...
asked by 25.08.2018 / 16:19
1
answer

How to put an id to a tr if it does not have an id?

(I'm not sure what title to put in the question if someone has a better one please let me know) Good afternoon what I want to do is put a different id to all the tr that do not have one. E could insert ID to the tr of the table but it puts...
asked by 12.07.2018 / 19:34
2
answers

How to delete a row from a datatable

my question is, how can I do to delete the first row of a datatable by means of a button (outside the table) I got to see examples on the datatable page but it does not work for me. Thank you                                                    ...
asked by 20.04.2018 / 19:50
1
answer

Create data.table and export to txt

The final goal is to create a txt where each row is different. For this I have different variables with different values that are going to be combined. The solution I provide does not seem the most appropriate because if the number of values is...
asked by 24.05.2018 / 16:27
1
answer

Fill table with matrix

I have a matrix, with which I have to fill a table so it looks like this: var datos = [ [0, 10], [0, 12], [15,0] ]; var table = document.createElement('table'); table.class = "display"; table.setAttribute('border',...
asked by 30.03.2018 / 03:56
1
answer

Modal in Bootstrap 4 and DataTables that does not load

I have a php page that loads the following table: the code is this: <table id="tabla" class="table table-striped table-bordered dt-responsive nowrap" cellspacing="0" width="100%"> <thead> <tr>...
asked by 24.02.2018 / 17:50
1
answer

Datatable Error Can not read property 'mData' of undefined

I am showing the data from my Database in a table using javascript the data is displayed correctly, but the DataTable options are not being displayed. In the browser console I get this error Uncaught TypeError: Cannot read property 'mData'...
asked by 27.12.2017 / 23:31
1
answer

Problems with bringing a photo-like data from an api

I have an api that returns data in which I fill in the detatables, in these precise moments I have problems with pulling a data that brings me a picture of a model. Then I leave the api: for anuncio in anuncios: data = {}...
asked by 17.01.2018 / 23:14
1
answer

filter data datagriddview, data table C #

Is it possible to filter data from a datagridview without first loading the data? Is that I have a data gridview that I load with information from the active directory which I assign to a datatable and later this datatable I assign it as datasou...
asked by 06.02.2018 / 19:11
1
answer

How to group rows in table with DataTable

I am trying to group the rows of a table generated with DataTables and Ajax, but I can not get them to be grouped. I need to group them by the Activity column. The table that is currently generated is the following: The JavaScript code...
asked by 24.10.2017 / 20:35