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

MVC Grid Groupable greyed out when dragging column

1 Answer 15 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 07 Sep 2018, 12:34 AM

Here is my Razor grid markup...

 

@(Html.Kendo().Grid<Karpos.WebUI.Models.HolidayDinnerModel>(Model) //Bind the grid to ViewBag.Products
                    .Name("grid")
                    .Columns(columns =>
                    {
                        columns.Bound(model => model.PLU).Groupable(true);
                        columns.Bound(model => model.Name);
                    })
                    .Pageable() //Enable the paging.
                    .Sortable() //Enable the sorting.
                    .Groupable()

)

 

The grid loads with data correctly but when I try to drag the PLU column to the Head to group on PLU, it is greyed out. All columns are the same way.

 

Any help?

1 Answer, 1 is accepted

Sort by
0
Scott
Top achievements
Rank 1
answered on 07 Sep 2018, 04:38 PM
I found out that I had some other javascript files that were interfering with the grid.
Tags
Grid
Asked by
Scott
Top achievements
Rank 1
Answers by
Scott
Top achievements
Rank 1
Share this question
or