Most voted "table" questions
Use this tag when the question refers to a table-only resource, information or problem, which is an HTML tag used to define a table.
Learn more…493 questions
Sort by count of
-
2
votes2
answers90
viewsUse Javascript function within a PHP table column
Hello, I am calling a JS file in my index.php: <script src="./Arquivos/js/ddtf.js"></script> And within an echo I need to apply the function that exists within it: <td><?php…
-
2
votes0
answers49
viewsMysql Relationships Table
I have a view called 'clients.Blade' where the administrator will choose which clients a particular developer can see, but I don’t know how to save these changes to the database. Model public…
-
2
votes1
answer371
viewsTable Filters with jQuery
I implemented a table filter with jQuery, as code below, but I would like to implement a record return counter, as I search. $(function(){ $(".input-search").keyup(function(){ //pega o css da tabela…
-
2
votes1
answer1284
viewsShow the number of rows and columns Javascript
I want the user to enter the row and column quantity of a table and present the respective values entered in the table. But typing the number of rows and columns at the prompt does not display the…
-
2
votes1
answer135
viewsSubistituir dynamic table row
In the catch line function I pick up the clicked line and send the data to the form and store OBJ from the line and get index tbm var index = $(obj).closest('tr').find('td').eq('0').text(); Here…
-
2
votes1
answer46
viewsFetch table value and put in form
This is the table has the fields the goal is to click the edit button and while clicking the instruction jquery that I put on top will fill in the fields automatically referring to the line that was…
-
2
votes1
answer261
viewsPull data from a table for inputs on the same page
I need help to pull the values that are inside a table. I made a code using table with $sql = "select * from equipamentos"; to pull the data I implemented in the Mysql Database, but specifically in…
-
2
votes1
answer96
viewsTotalize column values of an HTML table with decimal result
I need to display the total result by summing the values that contain the value column: var linha=document.getElementsByClassName("calcular"); var…
-
2
votes2
answers1230
viewsChanging the color of a table cell depending on the status
I wanted to change the color of a table cell depending on the value entered by the user. For example A = green, B = blue, C = black, I managed to get the code to change the color of the table, but…
-
2
votes1
answer1093
viewsDecrease tables to fit on a page
I have a page that features four tables and a button so the user can print them. The problem is that these tables have a lot of columns and when I try to print, they are cut. I wish I could decrease…
-
2
votes1
answer1255
viewsHow to remove the row that separates the columns in an html table?
I would like to know how I can remove the row separating the columns from this table. table { font-family: url('../fonts/Lato-Regular.ttf'); border-collapse: collapse; border-radius: 4px; width:…
-
2
votes2
answers251
viewsHow do I do my table with infinite scroll?
I have the following situation: I want to get to the end of the table to make an Ajax request and return another 10 lines in my table. For example: <!DOCTYPE html> <html> <head>…
-
2
votes0
answers54
viewsQuery Existence of PSQL Table
Well, I searched many places until I found the answer to my problem and I found interesting the idea of posting here what I found to help Unity, in case someone needs to perform a similar CRUD,…
-
2
votes1
answer47
viewsHow to turn a table with columns with days and rows with months into a regular time series?
I have an excel data table that was organized in a strange way. Columns are months and rows are days. In the file, after 31 days, resumes the account of the day. In this case, begins another year. I…
-
2
votes1
answer54
views -
2
votes3
answers63
viewsVue JS - How to display a list interspersed between property and value?
I have this list as an object: let app = new Vue({ el:'#app', data:{ lista:{ nome: 'Nome Completo', email: '[email protected]', cpf: 'xxx.xxx.xxx-xx', rg: 'x.xxx.xxx', tel: '(xx) x xxxx-xxxx' } } });…
-
2
votes2
answers64
viewsRemoving dynamic rowspan lines in table
I have an element <table> to which I insert lines with <td> whose rowspan varies according to the value entered in input. I would like to remove lines at the click of the button Removes…
-
1
votes3
answers4136
viewsUpdate a table using javascript and arrays
What I need to do is simple, but as I am a beginner in the art of PHP and Javascript, I am hitting myself a little. What I need to do is the following. I have an order screen, where I will register…
-
1
votes2
answers260
viewsDatatables - Rowspan in <tbody>: Cannot read Property 'classname' of Undefined
I am using Jquery and the Datatable plugin in my tables. So in some situations I need to use rowspan in the body (tbody) of my tables, which generates the following error in Google Chrome and ends…
-
1
votes3
answers233
viewsAdd enumerator to a PHP table
I would like to add a sequential numerical enumerator (1, 2, 3, ...) to names that are obtained through a query. The end result would be: sequencial | Nome ----------------- 1 | João 2 | Pedro 3 |…
-
1
votes1
answer1281
viewsCreate dynamic columns depending on a checkbox - excel 2007
I have a simple table with 4 values and a checkbox for each of them: Sellers: | John | Antonio | Paulo | Carlos On another excel sheet, I have a table where I can add rows, and where each row has…
-
1
votes1
answer566
viewsRuby on Rails read csv file and fill table
I have following table news : create_table "noticia", force: true do |t| t.integer "conteudo_id" t.integer "entidade_id" t.integer "imagem_id" t.string "texto" t.datetime "created_at" t.datetime…
-
1
votes3
answers247
viewsTable within tabs. Rules
I’m having trouble putting a table inside tabs. The data is all inside except the tables. echo'<div id="tabs-1"> <p><b>Alvará: </b></p>'; echo '<table width=500>…
-
1
votes1
answer77
viewsUse modal to display a static Uitableview
Hello! I am trying to show a static Uitableview using modal transition. But when I click on the button it shows nothing. I tested for another view and it worked properly. But when it is performed…
-
1
votes1
answer3146
viewsPopular table with HTML table data
I have a table with 4 columns (name, prova1, prova2, simulated). Suppose you are a teacher, and you wish to post student grades. I return to you the following: // $l representará o número de linhas…
-
1
votes1
answer873
viewsedge on TR not appearing
I’m applying edge to the TR’s <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 full code: .rwd-table {…
-
1
votes2
answers1652
views2 different tables from each other
I want to create two tables on the same page only one will have borders and the other will not. I have one already created in CSS but now I can’t create another. <table border="0" width="500px"…
-
1
votes1
answer1113
viewsFilter table data through checkbox
I have the following checkboxes: <div class="row smart-form"> <section class="col col-1.5"> <label class="toggle"> <input type="checkbox" name="checkbox-toggle" rel="Natureza"…
-
1
votes2
answers14029
viewsMysql - Create temporary table according to dynamic SELECT
Is there any way to create a temporary table according to a select with columns created dynamically, as shown in the examples below? ex: SELECT idCentroCusto, 'Dez/14', 'Jan/15', 'Fev/15', 'Mar/15',…
-
1
votes0
answers330
viewsDisplay jquery datatables search element in a specific div
How do I display, inside a div specifies the jquery datatables search box? My HTML table looks like this: <div class="row-fluid"> <div class="span4 pull-left"> <h4>Gerenciamento de…
-
1
votes1
answer527
viewsManual filter via VBA with last available values
I need to filter, via VBA, the 30 last values available in a dynamic table but in the "manual filter" that is the line... It is possible to read, in VB, the values available in the "manual filter"?…
-
1
votes3
answers12476
views -
1
votes0
answers714
viewsBootstrap table filter does not work
I have been trying to implement Boostrap’s "Table Filter" for days, but filtering does not work. Could someone help me? Here’s the whole code: <head> <meta charset="UTF-8" />…
-
1
votes1
answer2360
viewsFilter data from a table through a Dropdown
I have a table returning the amounts paid by taxpayers. However I have to return all the data (because the application adds field to field). So far so good. But to show the user, I need to filter…
-
1
votes1
answer490
viewsTable Search JS or jQuery
I want to do a search code using a Regex for strings, and normal numbers, and that I use the columns and rows of the table. I’ve tried several hypotheses, but none of them make that "refresh" of…
-
1
votes1
answer295
viewsImages do not line up in the table
I have this code: <!DOCTYPE html> <html> <head> <title>Figuras em tabelas</title> </head> <body> <h1 align="center">Montando figuras com tabelas -…
-
1
votes0
answers1031
viewsCreate a Dynamic Matrix using Angularjs
I need to create a Dynamic Matrix where the user inserts its size. This Matrix needs to be using Div and not Table of HTML, and the content to be shown inside the Matrix is in images and needs to be…
-
1
votes0
answers243
viewsHTML table with Fixed top columns
I’m trying to create a table that by scrolling down the page, the column row is fixed at the top. So far so good, in jQuery I set in the scroll event that when the columns were below offset, it…
-
1
votes2
answers568
viewsHow to remove and add a particular TD
Inside eachtr there are several buttons (add and remove) and their respective td(s), how to know which given tr should I delete if I click one of the add or rem Buttons? I also wanted to add a new…
-
1
votes1
answer713
viewsTclientdataset Temporary Table
Good night. My question is the following, I have a temporary table created on TClientDataSet. However, I need to record the data from the temporary table in an XML file and then read again in…
-
1
votes1
answer62
viewsPHP Database Search
I have a database with 3 tables and I need to know if in table A (for example) the field guy for 0 will fetch data from table B, if for 1 will fetch data from table C. And I have the following code…
-
1
votes0
answers2077
views -
1
votes1
answer660
viewsExport table content to an Excel file
I wonder if it is possible to create a function in PHP and/or Javascript that allows to export the contents of a table in HTML (table inside a div) straight to an Excel file. I’m trying to take…
-
1
votes1
answer843
viewsBootstrap 3 | How to leave the last column always more to the right?
I need to leave the last column of my table (the one that has the glyphs action) always to the right: <script…
-
1
votes1
answer843
viewsBootstrap 3 | How to leave the last column always more to the right?
I need to leave the last column of my table (the one that has the glyphs action) always to the right: <script…
-
1
votes3
answers1664
viewsAbbreviate content inside cell (HTML table)
I have a table that is composed of values that are pulled from the database.... This table has the predefined size, and it turns out that when the value pulled from the bank is greater than the…
-
1
votes1
answer39
viewsBackendless - Composition of table id
Hello! I created a table on Backendless and I wonder if I can compose the table id with 2 fields as in a SQL table. It is possible?
-
1
votes1
answer271
viewsJavascript table to fetch data
I’m making a page where I want to make a kind of simulator and I’m having difficulty in one of the table zones select a name and in the following column appear a price that I put.…
-
1
votes1
answer1665
viewsCreate truth table in C#
I have a test function that should receive different input combinations, to define these patterns I will use a truth table. However, I’m having difficulty generating the truth table, I made an…
-
1
votes2
answers643
viewsHow do I send data from a table html in a form post?
I have a form that contains a list within a tag table, how do I upload the data from this table to the table itself POST form? Without using hidden inputs. If possible in pure Javascript, but if no…