Is there a way to disable column resizing for a particular column only (the last column to be precise)?
Some more info on my problem, I have enabled fixed table layout on the Grid, so that an Ellipsis will show for fields that are very long.
/* allow ellipsis to show on overflow text in grid */
.k-grid table
{
table-layout:fixed;
}
... but now when the user resizes the last column, there are rendering issues on the Grid - it overruns the width of the grid (see attachment).
Here is my grid def -
@(Html.Kendo().Grid(Model)
.Name("Grid")
.Columns(columns =>
{
columns.Bound(p => p.RoleName).Width(200);
columns.Bound(p => p.Description);
})
.Events(events => events.Change("Grid_OnRowSelect"))
.Pageable()
.Sortable()
.HtmlAttributes(new { @style = "width:500px" })
.Selectable(s => s.Mode(GridSelectionMode.Single))
.Resizable(resize => resize.Columns(true))
.DataSource(dataSource => dataSource
.Ajax()
.Read(read => read.Action("RoleSearch", "Role").Data("Grid_OnData"))
.Events(e => e.RequestEnd("Grid_OnRequestEnd"))
)
)