So my problem is the following : I have an array of things
, whose count is dynamic.
Now what I need, is in my template, to iterate 100 times, displaying a 100 rows ; and if things[i] exists, then display it on the row.
So I could do the basic iterator with mu is too short's answer. However in the {{#times}} loop I can't reference my things table by using the this
index.
That is, if I write {{../things.[0]}}
, it works (it displays the value) ; however with {{../things.[this]}}
, it doesn't anymore.
Any idea how to do this ?
Thanks in advance,