javascript - Possible to dynamically define the size of each column, since each one has its proper value? -


i have following structure in handlebars , html:

<table class="minhaclasse" border="0" width="100%" bgcolor="white"> <thead> <tr> {{#each colunas}} <th style="width:40%; align="right">{{coluna}}</th> <th style="width:colunas.coluna.lenght; align="right">{{coluna}}</th> {{/each}} </tr> </thead> <tbody> {{#each valores}} <tr> <td align="left">{{usuário}}</td> <td align="left">{{atividade}}</td> <td align="left">{{data}}</td> <td align="left">{{observação}}</td> </tr> {{/each}} </tbody> </table> 

i know if possible dynamically define size of each column, since each 1 has proper value

enter image description here


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -