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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -