【问题标题】:Kendo Grid header and data row columns are not alignedKendo Grid 标题和数据行列未对齐
【发布时间】:2014-06-13 10:08:45
【问题描述】:

我有剑道网格。问题是网格的标题和数据行列没有正确对齐。

以下是剑道网格代码:

@(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))     
)  

【问题讨论】:

  • 你有没有修改过列宽?
  • 你有什么剑道版本?

标签: asp.net-mvc-4 kendo-grid


【解决方案1】:

这是 chrome 浏览器中剑道 ui 网格中的错误。 你在 Firefox 中测试你的问题吗?

您可以在这个问题中了解更多信息:

Bug in kendo ui grid lrt css in chrome

【讨论】:

  • 我只在 FF 上遇到了这个问题(Edge 和 Chrome 工作正常)
猜你喜欢
  • 2014-10-19
  • 2017-08-05
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-05-31
  • 1970-01-01
相关资源
最近更新 更多