I currently have a Grid that I want the ClientDetailTemplateId to be the editable area for fields that are currently not displayed on the grid. Then have an update button that uses the Datasource function of Update to update that row's values.
@( Html.Kendo().Grid(Model.Members)
.Name("membersGrid")
.Columns(columns =>
{
})
.AutoBind(true)
.HtmlAttributes(new { @class = "table table-hover align-middle faux-k-table" , style =" width: 100%"})
.Pageable()
.Sortable(false)
.ClientDetailTemplateId("DetailGridTemplate")
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(50)
.Events(e => e.RequestStart("onRequestStart")
.RequestEnd("onRequestEnd")
)
.Read(read => read.Action("GetGroupMembers", "Members").Data("additionalData"))
).NoRecords(n => n.Template(@"<div class=""alert alert-warning"">
No data found with selected filter values or there are no eligible members from your MEC to view.
</div>"))
)
script id="DetailGridTemplate" type="text/kendo-tmpl">
</script>