title: How do I make a edit button in a template for a grid in KendoUI?
body: <p>My basic question is 'How do I create a button in the template that will turn on edit mode in a KendoGrid?'
  I have the following kendoui template:</p>
  
  <pre><code>  &lt;script id="serviceGridRowTemplate" type="text/x-kendo-template"&gt;
              &lt;tr&gt;
                  &lt;td&gt;&lt;span data-bind="text: sequence"&gt;&lt;/span&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;span data-bind="text: service"&gt;&lt;/span&gt;&lt;/td&gt;
                   &lt;td&gt;&lt;input data-role="datepicker" data-bind="xpressdate: from_date"/&gt;&lt;/td&gt;
                  @*&lt;td&gt;&lt;span data-bind="xpressdate: from_date" data-dateformat="MM/dd/yyyy"&gt;&lt;/span&gt;&lt;/td&gt;*@
                  &lt;td&gt;&lt;span data-bind="xpressdate: to_date" data-dateformat="MM/dd/yyyy"&gt;&lt;/span&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;span data-bind="text: provider"&gt;&lt;/span&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;span data-bind="text: name"&gt;&lt;/span&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;span data-bind="text: status" &gt;&lt;/span&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;span data-bind="text: deny_cd" &gt;&lt;/span&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;span data-bind="xpressdate: add_date" data-dateformat="MM/dd/yyyy"&gt;&lt;/span&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;span data-bind="text: add_init" &gt;&lt;/span&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;span data-bind="xpressdate: change_date" data-dateformat="MM/dd/yyyy"&gt;&lt;/span&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;span data-bind="text: change_init" &gt;&lt;/span&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;button &gt;Turn on Edit&lt;/button&gt;&lt;/td&gt;
  
  
              &lt;/tr&gt;
  </code></pre>
  
  <p>I have tried to binding to a command but it doesn't like it. I can easily have a datapicker in this row but I want to have just text and then either click on an edit button or as it was before I created the template just clicking on a row starts the edit.
  Just for reference here is the div with the grid.</p>
  
  <pre><code> &lt;div data-role="grid"
                       data-bind="source: referralData.Services"
                       data-scrollable="true"
                       data-row-template="serviceGridRowTemplate"
                       data-editable="{mode:'inline',template:serviceEditTemplate}"
                       data-resizable="true"
                       data-toolbar="['create', 'Print']"
                       data-columns="[
                                       { 'field': 'sequence', 'width': 70, 'title': 'Sequence #' },
                                       { 'field': 'service',width:70,title:'Service' },
                                       { 'field': 'from_date', 'width': 70, 'title': 'Effective Date' },
                                       { 'field': 'to_date', 'width': 70, 'title': 'End Date' },
                                       { field:'provider','title': 'Provider',width:70 },
                                       { 'field': 'name', 'title': 'Provider Name' },
                                       { 'field': 'status', 'width': 180, 'title': 'Service Status Code' },
                                       { 'field': 'deny_cd', 'width': 180, 'title': 'Service Reason Code' },
                                       { 'field': 'add_date', 'width': 70, 'title': 'Add Date' },
                                       { 'field': 'add_init', 'width': 70, 'title': 'Added By' },
                                       { 'field': 'change_date', 'width': 70, 'title': 'Modified Date' },
                                       { 'field': 'change_init', 'width': 80, 'title': 'Modified By' },
                      { command: 'edit' }
                                    ]"
  
                       style="width:100%; height:auto"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>One last note, xpressdate is just a custom data picker that is needed for weird formatted dates coming from the db.</p>
  
  <p>Anyone know of an example or how to do this?</p>