I have applied a class HTML attribute to the final column in a Grid a
@(Html.Kendo().Grid<myModel>()
.Columns(columns =>
{
columns.Bound(entity => entity.SurrogateKey).Hidden();
columns.Bound(entity => entity.column1);
columns.Bound(entity => entity.column2);
columns.Command(command => command.Destroy())
.HtmlAttributes(new { @class = "finalColumn" })
;
})
When a new row is added using addRow(), the new row's column doesn't have the "finalColumn" class attached to it (it just has the dirty cell class). Is this expected behavior? If so, do you have any suggestions on how I should handle this so the new row's final column has the "finalColumn" class?
Thanks,
Richard