I am trying to databind just like what the samples describes.
and quick question...
If I have json like below
[
{ "@attributes":{name: 'Braeburn', value: 'Eating'} },
{ "@attributes":{name: 'Bramley', value: 'Cooking'} },
];
instead of,
[
{ name: 'Braeburn', value: 'Eating' },
{ name: 'Bramley', value: 'Cooking' },
];
How do I assign the class name to bind ?
something like below doesn't seem to work.
<tbody id="info">
<tr>
<td class="@
attributes.name"></td>
<td><input type="text" class="@attributes.value"/></td>
</tr>
</tbody>