Back to data overview

View Example 5: Placeholders for sub objects

If your dataset attributes contian an object, it is normally shown as "object" string.
You can use the dot-path-syntax to show any attribute of nested objects.

VIEW-Requestor

<div id="view_example5" swa="Present FROM ../../data/concepts/view_example5.json">
    <table class="uk-table">
        <thead>
            <tr><th>Id</th><th>Subs Name</th><th>Subs value</th></tr>
        </thead>
        <tr class="swac_repeatForSet">
            <td>{id}</td>
            <td>{object.name}</td>
            <td>{object.value}</td>
        </tr>
    </table>
</div>  
        
CONFIGURATION

No configuration needed

DATASOURCE
IdSubs NameSubs Value
{id} {object.name} {object.value}
Back to data overview