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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -