Hey everyone,
I'm trying to create a small grid for "articles" which is grouped by "articleGroup".
Now the plan is to change the ClientGroupHeaderTemplate, to add a checkbox to check all sub elements, for the group without showing it as a column in the grid.
I can set the grouping in the dataSource, but I struggle to add the checkbox to the group header without adding it as a column.
Html.Kendo().Grid<ArticleViewModel>()
.Name(
"articleGrid"
)
.Columns(c =>
{
c.Select().Width(50);
c.Bound(x => x.ArticleNo);
})
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(50)
.GroupPaging(
true
)
.Group(x => x.Add(y => y.ArticleGroup))
.Read(
"GridRead_Whitelist"
,
"Plot"
))
Best regards
Nils