SlickGrid 列标题与正文不同步

发布于 2024-12-02 02:24:53 字数 272 浏览 1 评论 0原文

我尝试过的保持列标题与正文同步的正确方法是什么

http://jsfiddle.net/wLPLA /4/)并得到:

如果列数等于150 标题行的单元格呈现错误 - 行尾扭曲

如果列数等于200,则 标题行被换行

有什么问题吗?有人遇到同样的问题吗?有什么解决办法吗?

What is the right way to keep column header in sync with body

I have tried (http://jsfiddle.net/wLPLA/4/) and got:

if number of columns is equal to 150
the cells of header row rendered wrong -- distorted at the end of row

If number of columns is equal to 200
the header row got wrapped

What is wrong? Has anybody got the same problem? Any fix?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南风几经秋 2024-12-09 02:24:53

听起来问题是因为 slick.grid.js:212 中的这一行

尝试将宽度从 10000px 更改为 20000px。我有一个这里正在工作的jsfiddle

It sounds like the problem is because of this line in slick.grid.js:212

try changing the width from 10000px to 20000px. I have a working jsfiddle here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文