Kendo Grid header and data row columns are not aligned

血红的双手。 提交于 2019-12-22 09:24:29

问题


I have kendo grid.And problem is grid's header and data rows columns are not aligned properly.

Below is the kendo grid code :

@(Html.Kendo().Grid(Model.Product)
.Name("Grid")
.Scrollable(a => a.Height("auto"))    
.Columns(columns =>
{
    columns.Bound(o => o.ProductId).Sortable(true)
    .ClientTemplate("<a href='/Product/ProductEntry/#=ProductID#' target='_blank'>#=Product#</a>")
    .Title("Order #");
    columns.Bound(p => p.Name);
    columns.Bound(p => p.LastName);
    columns.Bound(p => p.Insurance);
    columns.Bound(p => p.LastUpdate);
})
.Pageable()
.Sortable()

    .Resizable(resize => resize.Columns(false))
    .Reorderable(reorder => reorder.Columns(false))     
)  

回答1:


This is a bug in kendo ui grid in chrome browser. Do you test your problem in firefox?

You can read more about it in this question:

Bug in kendo ui grid lrt css in chrome



来源:https://stackoverflow.com/questions/24202842/kendo-grid-header-and-data-row-columns-are-not-aligned

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!