|
<script id="hello" type="text/x-jsrender">
<tr>
<td>
Hello {{:FirstName}} {{:LastName}}
</td>
<td>
Welcome
</td>
</tr>
</script>
.
.
.
.
scrollSettings: { height: 380, width: 500 },
rowTemplate: "#hello",
columns: [
{ headerText: "Photo", width: 30 },
{ headerText: 'Employee Details', width: 70 }
] |
is there any other way to create dynamic templates?