Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Extra div added to Handlebars detail template output
Hi Everyone,
I'm developing in SCA Kilimanjaro and I'm running into an issue that I'm not sure how to fix. I'm rendering data in a table in Handlebars but the detail template is being wrapped in a div which is messing up the rendering. In my "list" template I have:
<table>
<thead>
<tr>
<th>{{translate 'Subscription Id'}}</th>
<th>{{translate 'Sku'}}</th>
<th>{{translate 'Quantity'}}</th>
</tr>
</thead>
<tbody data-view="Subscriptions.Collection"></tbody>
</table>
In my "details" template I have:
{{#each this}}
{{#subData}}
<tr>
<td>{{id}}</td>
<td>{{sku}}</td>
<td>{{qty}}</td>
</tr>
{{/subData}}
{{/each}}
When it renders I have:
0