嵌套在 YUI3 Tabview 中的 YUI2 DataTable 中可调整大小的列的问题

发布于 2024-09-11 15:11:05 字数 430 浏览 2 评论 0原文

当表嵌套在 YUI3 Tabview 中时,我在调整 YUI2 DataTable 中的列大小时遇到​​问题。

我的情况:

  • YUI3 Tabview 有 4 个选项卡。
  • 每个选项卡都包含一个 DataTable,其中有可排序且可调整大小的列。
  • 第一个选项卡(加载选项卡视图后显示的默认选项卡)的 DataTable 中的列可排序且可调整大小,并且可按预期工作。
  • 其他三个选项卡中的数据表中的列可排序,但不可调整大小。

我可以在 firebug 中看到其他选项卡中的 DataTables 在元素中具有相同的 innerHTML 结构、类等。

我很高兴发布代码示例,但我想我应该从这个基本问题开始,看看是否有人对如何调试这个问题有想法或建议。

欢迎任何想法和建议。

巴特

I'm having an issue with resizing columns in a YUI2 DataTable when the table is nested inside a YUI3 Tabview.

My situation:

  • YUI3 Tabview has 4 tabs.
  • Each tab contains a DataTable that has sortable and resizable columns.
  • The columns in the DataTable of the first tab (the default tab that is displayed after loading the tab view) are sortable AND resizable and work as expected.
  • The columns in DataTables in the other three tabs are sortable BUT NOT resizeable.

I'm able to see in firebug that the DataTables in the other tabs have the same innerHTML structure, classes, etc in the elements.

I'm happy to post code samples but I thought I'd just start with this basic question to see if anyone has ideas or suggestions for how I can debug this issue.

Any ideas and suggestions are welcome.

Bart

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

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

发布评论

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

评论(1

≈。彩虹 2024-09-18 15:11:05

我无法在本地重现您的问题。你能发布一个重现案例吗?

这对我有用: http://gist.github.com/501137

jenny

I'm not able to reproduce your problem locally. Can you post a repro case?

Here's what worked for me: http://gist.github.com/501137

jenny

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