Questions tagged as 'datatable'

1
answer

How to add a row to a Primefaces table?

I have a table in primefaces to which I already add some columns, Now what I want is to add rows, and I have the following but it only shows text in the columns and it does not show what I have in the outputLabel, or in what way is it done? &l...
asked by 24.01.2018 / 17:56
2
answers

display data in a table [closed]

How do I not see the one available in the column that is already not available, if I do it with @else it's worse since I go through the array 3 times. <table> <thead> <tr> <th>Hora</th> <th>...
asked by 08.11.2017 / 20:36
1
answer

Problem with query to table with inner join

I have a problem I hope someone can help me because I'm going crazy and I can not solve it. I have the following code that I use to consult a table and display the results in a datatable: $joinQuery = "FROM orders INNER JOIN clients on (cl...
asked by 20.10.2017 / 23:57
1
answer

implode of columns and rows of DataTable C #

I am trying to make a data insertion, of a dataTable whose data has been passed from an sql query, I want to dump this data into another table, as they come. This function will do it for several tables, so the column names and the quantity ca...
asked by 22.09.2017 / 18:08
1
answer

How do I add buttons dynamically in tables? (C #)

I want to add 3 buttons in a single column of a DataGridView and I do not know how to do it correctly, I can dynamically generate the column that I want Code To generate a blank column. DataGridViewColumn acciones = new DataGridViewCol...
asked by 17.01.2017 / 22:45
1
answer

How to read only a record of a DataGridView that has information from the BD? C #

My problem is that I would like to read the complete record of a table in my database, well, so far, it brings me the information and shows it in the form that I should, because what I want to do is an update, only that I read all the records an...
asked by 20.01.2017 / 00:31
0
answers

How to know if my DataTable, DataSet or DataView contains empty fields and remove them from the table,

I am trying to get the name of the columns of each table of a base in Access and store them in a DataTable inside a DataSet. The name of the columns is the name of each Access table and each column name of each table. The issue here...
asked by 17.12.2018 / 07:27
0
answers

Update table after AJAX success

I have a table in which a cell has the value 0 (inactive) and 1 (active) I update the values perfectly by ajax but if I give it to the same button it still sends the same value ... that is, I can activate or deactivate a record but then I can no...
asked by 11.12.2018 / 18:45
0
answers

button export to Datatable excel crashes when it is more than 100 thousand records

the function of the datatable is of the form: function mostrar_datatable_marcaciones() { "use strict"; $('#resultado_marcacion').DataTable({ destroy: true, "language": { "url": url_js + "/es_es.lang",...
asked by 11.12.2018 / 14:49
0
answers

Datatables for going to bit crazy

I want to join the two codes but it does not work, can you help me? $(document).ready(function() { $('#tabla').DataTable( { "language": { "lengthMenu":"Mostrar _MENU_ registros por página.",...
asked by 03.12.2018 / 16:28