Kendo ui grid command template click link to function
<p>How do I make the click event of the template? It is not going to function.</p>

<pre><code>command: [{
   name: "openMoveModal",
   template: "&lt;a class='k-grid-decreaseIndent k-button'&gt;&lt;span class='fa fa-arrows'&gt;&lt;/span&gt;&lt;/a&gt;",
   click: openMoveModal
}
</code></pre>

<p>Function</p>

<pre><code>function openMoveModal(e) {
   e.preventDefault();
   var dataItem = this.dataItem($(e.currentTarget).closest("tr"));
}
</code></pre>