Hi,
I'm not able to add Multi column Header grid. I'm trying this
@(Html.Kendo().Grid<SkyResMVC.Models.TAChartDetails>()
.Name("TAChartGrid")
.HtmlAttributes(new { style = "height: 400;" })
.Scrollable()
.Columns(columns =>
{
columns.Bound(p => p.RoomType).Width(120).Title("A");
columns.Group(group => group
.Title("Contact Info")
.Columns(info =>
{
info.Bound(x => x.ContactTitle).Width(200);
})
);
})
)
I'm getting error like this-
Kendo.Mvc.UI.Fluent.GridColumnFactory<SkyResMVC.Models.TAChartDetails>' does not contain a definition for 'Group' and no extension method 'Group' accepting a first argument of type 'Kendo.Mvc.UI.Fluent.GridColumnFactory<SkyResMVC.Models.TAChartDetails>' could be found (are you missing a using directive or an assembly reference?)
Please help me in this....