title: Kendo Grid inline editing with selected row together doesn't work properly
body: <p>My kendo Grid has both selected row and inline edit feature. When i click edit button without selecting a row it shows the change i am doing. 
  <a href="https://i.stack.imgur.com/WkT8u.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WkT8u.png" alt="enter image description here"></a></p>
  
  <p>But if i select a row first then try to edit it hides all the value.
   <a href="https://i.stack.imgur.com/5vlTo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5vlTo.png" alt="enter image description here"></a></p>
  
  <p>My code of the grid </p>
  
  <pre><code>@(Html.Kendo().Grid&lt;VmSegment&gt;()
        .Name("VmSegment")
        .Events(e =&gt; e.Change("onChange"))
        .Columns(columns =&gt;
        {
            columns.Group(group =&gt; group
                .HeaderHtmlAttributes(new {style = "text-align:center;font-weight:bold;vertical-align: middle"})
                .Title("Chainage (m)")
                .Columns(info =&gt;
                {
                    info.Bound(p =&gt; p.FromChain).HtmlAttributes(new {style = "text-align:right"}).Title("From").HeaderHtmlAttributes(new {style = "text-align:center;font-weight:bold;vertical-align: middle"}).Width(40);
                    info.Bound(p =&gt; p.ToChain).HtmlAttributes(new {style = "text-align:right"}).Title("To").HeaderHtmlAttributes(new {style = "text-align:center;font-weight:bold;vertical-align: middle"}).Width(40);
                })
                );
            columns.Template(p =&gt; { }).Title("Segment Length").HtmlAttributes(new {style = "text-align:right"}).HeaderHtmlAttributes(new {style = "text-align:center;font-weight:bold;vertical-align: middle"}).ClientTemplate("#=calculate(data)#").Width(60);
  
            columns.Bound(p =&gt; p.SurfaceType).ClientTemplate("#=SurfaceType.surfaceTypeName#").HeaderHtmlAttributes(new {style = "text-align:center;font-weight:bold;vertical-align: middle"}).Title("Surface Type").Width(55);
  
            columns.Group(group =&gt; group
                .HeaderHtmlAttributes(new {style = "text-align:center;font-weight:bold;vertical-align: middle"})
                .Title("Average Width (m)")
                .Columns(info =&gt;
                {
                    info.Bound(p =&gt; p.AvgCargW).HtmlAttributes(new {style = "text-align:right"}).Title("Carriage").HeaderHtmlAttributes(new {style = "text-align:center;font-weight:bold;vertical-align: middle"}).Width(70);
                    info.Bound(p =&gt; p.AvgShoulW_R).HtmlAttributes(new {style = "text-align:right"}).Title("Shoulder Right").HeaderHtmlAttributes(new {style = "text-align:center;font-weight:bold;vertical-align: middle"}).Width(70);
                    info.Bound(p =&gt; p.AvgShoulW_L).HtmlAttributes(new {style = "text-align:right"}).Title("Shoulder Left").HeaderHtmlAttributes(new {style = "text-align:center;font-weight:bold;vertical-align: middle"}).Width(70);
                })
                );
            columns.Group(group =&gt; group
                .HeaderHtmlAttributes(new {style = "text-align:center;font-weight:bold;vertical-align: middle"})
                .Title("Condition")
                .Columns(info =&gt;
                {
                    info.Bound(p =&gt; p.SlopeCondition).ClientTemplate("#=SlopeCondition.Name#").Title("Slope").HeaderHtmlAttributes(new {style = "text-align:center;font-weight:bold;vertical-align: middle"}).Width(60);
                    info.Bound(p =&gt; p.ShoulderCondition).ClientTemplate("#=ShoulderCondition.Name#").Title("Shoulder").HeaderHtmlAttributes(new {style = "text-align:center;font-weight:bold;vertical-align: middle"}).Width(60);
                })
                );
            columns.Command(command =&gt;
            {
                command.Edit().HtmlAttributes(new {style = "text-align:center", @id = "Edit", title = "Edit"}).Text(" ");
                command.Destroy().HtmlAttributes(new {@id = "rm", title = "Delete"}).Text(" ");
                command.Custom("ViewMap").Click("showMap").HtmlAttributes(new {@class = "", @id = "", title = "Map"}).Text(" ");
                command.Custom("ViewDetails").Click("showDetails").HtmlAttributes(new {@class = "", @id = "target3", title = "Details"}).Text(" ");
                command.Custom("ViewPhoto").Click("showPhoto").HtmlAttributes(new {@class = "", @id = "", title = "Photo"}).Text(" ");
            }).Width(120);
        })
        .ToolBar(toolBar =&gt; toolBar.Template("&lt;a style = 'text-align:center;font-weight:bold;hover' title='First select a row.' class='k-button k-button-icontext add'&gt;&lt;/span&gt;+Add New Record&lt;/a&gt;")) // The "create" command adds new data items
        .Editable(editable =&gt; editable.Mode(GridEditMode.InLine))
        .Selectable(selectable =&gt; selectable
                  .Type(GridSelectionType.Row))  
        //.Sortable()
        .Pageable(pageable =&gt; pageable.Refresh(true))
        .ColumnMenu()
        .DataSource(dataSource =&gt; dataSource          
            .Ajax()
            .PageSize(10)
  
            .Events(e =&gt;
            {
                //e.Error("onError");
                e.Sync("KendoGridRefresh");
                // e.Change("onChange");
                //e.Change("onChange");
            })
            .Model(model =&gt;
            {
                model.Id(p =&gt; p.Id);
  
                model.Field(p =&gt; p.FromChain).Editable(false);
  
                model.Field(p =&gt; p.SurfaceType).DefaultValue(
                    ViewData["defaultSurfaceType"] as VmSurfaceType);
  
                model.Field(p =&gt; p.SlopeCondition).DefaultValue(
                    ViewData["defaultconditionSlope"] as VmCondition);
  
                model.Field(p =&gt; p.ShoulderCondition).DefaultValue(
                    ViewData["defaultconditionShoulder"] as VmConditionShoulder);
            })
            .Read(r =&gt; r.Action("Read", "Segment"))
            .Create(r =&gt; r.Action("Create", "Segment"))
            .Update(r =&gt; r.Action("Update", "Segment"))
            .Destroy(r =&gt; r.Action("Delete", "Segment"))
        )
        .Events(ev =&gt; ev.DataBound("resetRowNumber").DataBound("onRowBound"))
        .Events(ev =&gt; ev.Cancel("onCancel"))
  
  
        )
  </code></pre>