I'm looking to make a custom header for my grid. In the end, I want it to have the title, sorting arrows, and a custom filter image button that bypasses the built-in filtering of the grid.
To start off though, how do I get it to display the title?
To start off though, how do I get it to display the title?
01.
Html.Kendo().Grid<dynamic>()
02.
.Name(
"grid"
)
03.
.Filterable(filter => filter.Enabled(
false
))
04.
.DataSource(ds => ds.Ajax().Read(read => read.Action(
"action"
,
"controller"
)))
05.
.Columns(columns =>
06.
{
07.
columns.Bound(
"field"
)
08.
.Title(
"title"
)
09.
.Sortable(
true
)
10.
.HeaderTemplate(
"???"
);
11.
});