Questions tagged as 'table'

1
answer

How to generate sequential numbers automatically with current year in rails?

I need when a new product is created it generates a number ex: 0001/2015 number / year_vigente and when change of year returns to zero. I made a helper just to format the number in the views, but it does not solve the problem of automatic gen...
asked by 15.05.2015 / 21:26
1
answer

Show and Hide Table Lines [duplicate]

There is in the code the button displays / hidden, referenced a JavaScript function, however, the button only works by bringing the last record of the database, never the record for the line that it is and only displays after the first row of...
asked by 19.12.2018 / 16:00
1
answer

Get the tr value that the user clicked on a PivotTable

Hello ... I have a problem for many days and I can not resolve it. The situation is as follows: I have a table that is created dynamically from the data in the database: Whentheuserhoveroveranoption,itishighlighted: Ineedtoclickonasele...
asked by 12.12.2018 / 04:42
3
answers

Fix first line table

I need to set the first row of my table always at the top of the page. I have read several questions about this same problem, but I could not solve ... My code: <table border="2px"> <tr bgcolor="0099FF" id="topo"> <th...
asked by 19.12.2014 / 02:17
0
answers

How to mount dynamic horizontal table

I need to make a horizontal table that contains the months revenue and expenses, but I need to always calculate from the previous month, but the first month will not have the calculation. Here is an example of how my code is. $tabela = '<...
asked by 29.11.2018 / 20:59
1
answer

How to transform an HTML table into a Data Frame

I'm trying to integrate a python script with an HTML table How can I do this? Follow my table. <table data-spy="scroll" class = "table-responsive-sm" id="table-prem" > <thead>...
asked by 22.11.2018 / 21:27
1
answer

How to adjust Width of a Table in PDF?

I'm exporting a report to PDF but the colors and widths are not working. $campo = $service->relatorioOrcamentario($data); $tabela = '<table border="1">';//abre table $tabela .='<thead>';//abre cabeçalho $tabela .= '<tr>';...
asked by 21.11.2018 / 19:44
0
answers

Creating Tables with JQuery

I need to do a job with a system that every product I type on the left of the page, appears in a table on the right, I could already create the table without any padding, just with the header, but now I need to know how I do it each time you fil...
asked by 24.10.2018 / 22:05
1
answer

How to use date table bootstrap

I wanted to use this date table, to search a lot of database data. I even managed it, but it takes 12 seconds to load the page. Because there is a lot of data registered. Does anyone have an example of how I could do it? Follow the code: F...
asked by 23.10.2018 / 04:25
0
answers

How to create a table with DataGridViwer and get TXT data

Hello, I just migrated from C to C #. I learned some things from C # by seeing the compiler error messages. What I want to do is to have Datagrid look the way the image is: Link. Well, I need exactly that. How to get the data from tx...
asked by 17.10.2018 / 19:29