Questions tagged as 'table'

3
answers

Displaying data in a table with foreach

I'm having problems on the results page, others are working correctly, the purpose is to print the approval or disapproval of the students in the table using foreach in PHP. Error:    Warning: Invalid argument supplied for foreach...
asked by 06.03.2015 / 19:13
2
answers

2 different tables from each other

I want to create two tables on the same page only one will have borders and another will not. I have one already created in CSS but now I can not create another one. <table border="0" width="500px" height="1000px"> <tr > <td&...
asked by 21.01.2015 / 11:58
2
answers

Change the color of a cell according to the value

I have a page with a table that shows information on the amount of items planned to be performed and the number of items actually made at the end of each month. Iwasaskedif,inthemonth,moreitemsaremadethanexpected,thecellthatshowsthequantityi...
asked by 09.07.2018 / 15:00
2
answers

How do I send data from a html table to POST form?

I have a form that contains a list inside a table tag, how do I send data from this table to the POST of the form itself? Without using hidden inputs. If possible in pure Javascript, but if there is no way it could be in JQuery.     
asked by 08.06.2016 / 18:09
1
answer

border on TR not showing

I'm applying border in the TR of the <tables> but in no way it appears, see the code snippet: .rwd-table tr { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; } See complete code: .rwd-table { margin: 1...
asked by 05.01.2015 / 22:52
1
answer

How to put the scroll bar on the table

I have a table with a bar ( overflow-x ) to scroll to the sides. The bar is under the table, but I would like it to stay on top. I already took it from the div, put it back, tried to put the impression of the bar before the table, but i...
asked by 17.09.2018 / 14:19
1
answer

Media Queries Does not work Informed Measures

Good afternoon! I'm working the first time with @media queries, I read a few vi examples but when I realized my project I saw that it is not using the settings according to the last measure. Could anyone tell me what might be happening? Fo...
asked by 18.12.2018 / 20:20
1
answer

How to insert dynamic rows into HTML table, and already set a class beforehand

I have an HTML table and I'm creating your lines dynamically using appendChild() , I'm just not able to set className dynamically on those lines, in the third column - "VALUE". See like this: var doc = document;...
asked by 03.06.2018 / 14:11
1
answer

Bootstrap - Paint a whole line and less a specific column

The above code almost works, just can not paint in the first column, how can I solve this? $('table').on('click', 'tr', function () { if ($(this).hasClass('table-info')) { $(this).removeClass('table-info'); } else {...
asked by 03.01.2018 / 04:20
1
answer

Problem with line height in a table in HTML

I used the following code to show some data in a table: <table> <thead> <tr heigth="2px"> <th align="left" width="180">Nr DBC</th> <th align="left" width="380px">Descriç...
asked by 18.02.2017 / 18:42