title: Kendo UI Grid - Show row number
body: <p>How do I show the row number in a Kendo UI Grid? The code I have is not working. The page displays the column but it's empty.</p>
  
  <pre><code>@{int counter = 1;}
  
  @(Html.Kendo().Grid&lt;QueueViewModel&gt;()
        .Name("Queue")
        .Columns(columns =&gt;
        {
            columns.Template(@&lt;text&gt;&lt;span&gt;@counter @{ counter++; }&lt;/span&gt;&lt;/text&gt;).Title("#");
        })
       .DataSource(dataSource =&gt; dataSource
       .Ajax()
       .PageSize(10) 
       .Read(read =&gt; read.Action("GetOpenQueue", "DataSource", new { GeneralQueue = true })
  ))
  </code></pre>