Hi!
I need to have a button in my group header rows. Added ClientGroupHeaderTemplate but button is not displayed (in fact nothing has changed at all). What's wrong in my code?
Thank you!
@(Html
.Kendo()
.Grid<
ClientSearchResultModel
>()
.Name("Grid")
.Columns(columns =>
{
columns.Select().Width(50);
columns.Bound(o => o.FirstName);
columns.Bound(o => o.LastName);
columns.Bound(o => o.Type)
.ClientGroupHeaderTemplate("<
button
class
=
'myButton'
>Select Items</
button
>");
})
.Pageable()
.Sortable()
.Filterable()
.Scrollable()
.Groupable()
.PersistSelection()
.DataSource(dataSource => dataSource
.Ajax()
.Read(read => read.Action("GetDataModels", "Client"))
)
)
Side question: is it possible to define common group header template for all collumns?