This question is locked. New answers and comments are not allowed.
See the attached Screen Shot.
According to the training video I have set the column width already.
However this did not help.
Probably I do have to make sure, that the content is smaller?
According to the training video I have set the column width already.
| Html.Telerik().Grid<WorkitemGridRow>() |
| //.BindTo(Model.gridRows) |
| .Name("WorkitemGrid") |
| .Localizable("de-DE") //ToDo Culture allgemein ersetzen |
| .ToolBar(tb => |
| { |
| tb.Insert(); |
| }) |
| .DataBinding(b => b.Ajax() |
| .Select<WorkitemController>(sc => sc.AjaxGridSelect(Model.fatherKey??String.Empty)) |
| .Delete<WorkitemController>(sc => sc.AjaxGridDelete(String.Empty)) // Parameter is added by Grid engine |
| .Insert<WorkitemController>(sc => sc.AjaxGridInsert(Model.fatherKey ?? String.Empty)) |
| .Update<WorkitemController>(sc => sc.AjaxGridUpdate(String.Empty)) // Parameter is added by Grid engine |
| ) |
| .DataKeys(k => k.Add(r => r.RowKey)) |
| .Columns(c => |
| { |
| c.Command(s => |
| { |
| s.Select(); |
| s.Edit(); |
| s.Delete(); |
| }).Width(200); |
| c.Bound(r => r.Title).Width(150); |
| if (Model.viewSprints) c.Bound(s => s.SprintTitle) |
| .ReadOnly(false).HtmlAttributes(new { name = "SprintTitle" }).Width(150); |
| c.Bound(r => r.RemainingDays).Format("{0}").Width(15).Title("Days").Width(15); |
| c.Bound(r => r.RemainingHours).Format("{0}").Width(15).Title("Hours").Width(15); |
| c.Bound(r => r.FreeRemainingDays).Format("{0}").ReadOnly(true).Width(15).Title("Free\nDays"); |
| c.Bound(r => r.FreeRemainingHours).Format("{0}").ReadOnly(true).Width(15).Title("Free\nHours"); |
| c.Bound(r => r.chartlet) |
| .ClientTemplate("<img src='<#= chartlet #>' alt=''>") |
| .Title("Chart").ReadOnly(true); |
| c.Bound(r => r.Urgent).ReadOnly(false).Width(15) |
| .ClientTemplate("<input type='checkbox' disabled='disabled' name='Urgent' <#= Urgent? checked='checked' : '' #> />"); |
| c.Bound(r => r.Important).ReadOnly(false).Width(15) |
| .ClientTemplate("<input type='checkbox' disabled='disabled' name='Important' <#= Important? checked='checked' : '' #> />"); |
| c.Bound(r => r.Status).ReadOnly(false).Width(30); |
| }) |
| .Sortable() |
| .Pageable() |
| .Groupable() |
| .Filterable() |
| .Render(); |
Probably I do have to make sure, that the content is smaller?