Currently there is no built in index functionality support in the Kendo-Knockout the templates (also there is no support for this in the native Kendo templates).
However you could use the jQuery's index()
method in combination with the $element
binding context poperty to get the current tr
position inside the datagird (altough this does not work correctly if you using paging):
<div data-bind="kendoGrid: { data: items, rowTemplate: 'rowTmpl',
useKOTemplates: true }"> </div>
<script id="rowTmpl" type="text/html">
<tr>
<td>
Row index:
<span data-bind="text: $($element).closest('tr').index()"></span>
</td>
</tr>
</script>
Demo JSFiddle.