title: Inline editing mode an dynamic object
body: <p>I've created a grid with a dynamic object and I'd like to use the GridEditMode.InLine to update and add data. The popUp mode is working but with the InCell and 
  the inline I'm getting the following error:</p>
  
  <p><strong>Templates can be used only with field access, property access, single-dimension array index, or single-parameter custom indexer expressions.</strong></p>
  
  <p>Am I missing something?</p>
  
  <p>I tried to use a custom template but I am still getting the same error.</p>
  
  <p>Thanks for your help</p>
  
  <pre><code>@(Html.Kendo().Grid&lt;dynamic&gt;()
      .Name("Grid")
      .DataSource(dataSource =&gt; dataSource
          .Ajax()
          .ServerOperation(true)
          .Model(cfg =&gt;
           {
             cfg.Id("SsdID");
          foreach (var property in Model.PropertyDescriptors)
              {
                  cfg.Field(property.Name, property.DataType);
               }
           })
          .Read(cfg =&gt; cfg.Type(HttpVerbs.Post)
          .Action("ReadDataForDefinition", "ManualDataEntry",
                  new { id = Model.LDefinitionId }))
          .Update(u =&gt; u.Type(HttpVerbs.Post).Action("UpdateDataForDefinition","ManualDataEntry",
                  new { id = Model.LDefinitionId }))
          .Create(u =&gt; u.Type(HttpVerbs.Post).Action("Create", "ManualDataEntry",
                  new { id = Model.LDefinitionId }))
           )
        .Resizable(resizing =&gt; resizing.Columns(true))
        Columns(columns =&gt;
        {
          foreach (var property in Model.PropertyDescriptors.Where(desc =&gt; desc.DisplayOrder.HasValue))
           {
               var binding = columns.Bound(property.DataType, property.Name);
            if (property.DataType == typeof(DateTime) || property.DataType ==typeof(DateTime?))
             binding.Format("{0:d}");
             binding.Column.Title = property.Label;
            }
        columns.Command(command =&gt;
          {
              command.Edit();
              command.Destroy();
          });
       })
    .ToolBar(toolbar =&gt; { toolbar.Create(); })
    .Pageable(paging =&gt;
     {
          paging.ButtonCount(10);
          paging.PreviousNext(true);
          paging.PageSizes(true);
      })
    .Editable(edit =&gt; edit.Mode(GridEditMode.InLine))
    .Sortable()
    .Scrollable()
    .Filterable()
  )
  </code></pre>