Hi,
I was trying to frozen my first column on Kendo Grid:
@(Html.Kendo().Grid<AssortmentResult>()
.Name("transomGrid")
.Columns(columns =>
{
columns.Bound(d => d.Style).Width(100).Locked(true).Lockable(false).Filterable(false);
columns.Bound(d => d.StyleOption).Width(110).Filterable(false);
columns.Bound(d => d.WidthDescription).Title("Width").Width(100).Filterable(true);
columns.Bound(d => d.DoorCollectionCode).Width(150).Filterable(true);
columns.Bound(d => d.GlassDesign).Width(150).Filterable(true);
columns.Bound(d => d.DealerMarkupWithCommission).Width(150).Filterable(false);
columns.Bound(d => d.FlatRate).Width(150).Filterable(false);
columns.Bound(d => d.FinalRetailPrice).Width(150).Filterable(false);
columns.Bound(d => d.DoubleDeduct).Width(150).Filterable(false);
})
.DataSource(d => d
.Ajax()
.PageSize(500)
.Read(read => read.Action("DisplayTransoms", "Existing", new { area = "Assortment", assortmentId = (int)ViewData["assortmentId"] }))
)
.Scrollable(scrollable => scrollable.Height(540))
.Reorderable(reorderable => reorderable.Columns(true))
.Resizable(resizable => resizable.Columns(true))
.Filterable(filterable => filterable
.Extra(false)
.Operators(operators => operators
.ForString(str => str.Clear()
.StartsWith("Starts with")
.IsEqualTo("Is equal to")
.IsNotEqualTo("Is not equal to")
))
)
.Pageable()
.Sortable()
)
But when rendered, the column header of the first column is missing but its content is being displayed which make the header and the content of the grid not even.