This is a migrated thread and some comments may be shown as answers.

kendo Multi column Header grid

1 Answer 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Prithu
Top achievements
Rank 1
Prithu asked on 10 Feb 2016, 10:33 AM

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....

 

 

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 11 Feb 2016, 03:36 PM

Hello Prithu,

I am unable to reproduce the mentioned issue on our side. Could you specify what is the exact Kendo UI version that is used? If the problem is still persisting, please send us a runnable example, where it is reproducing, so we could inspect it locally and provide assistance.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Prithu
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or