YUI2 DataTable 允许单元格内容“出血”从一栏到下一栏
使用 http://developer.yahoo.com/yui/examples/datatable/dt_basic。 html 作为基础,只需在表格末尾添加一个新列即可。接下来,调整标题列的大小,使该列的宽度小于该列内容的宽度。
我想要做什么:如果标题列右侧的列中没有数据,并且标题列的内容比列本身更宽,我希望标题列的显示继续到如果相邻单元格列为空,则下一列。
看来“溢出:隐藏”可能是我的问题的根源。当我重新调整列大小时,该 CSS 似乎从可见状态重置。我猜还有更多线索。
“overflow:hidden;”的“内联样式”当您通过拖放调整列宽时,似乎是从某处/事物添加的。
是否有 CSS 技巧或其他方法可以修复/允许 YUI2 表出现此问题?
Using http://developer.yahoo.com/yui/examples/datatable/dt_basic.html as the base, simply add a new column to the end of the table. Next, resize the title column so that the width of the column is smaller than the width of the contents of the column.
What I'm trying to do: If there is no data in the column to the right of the title column and the contents of the title column are wider than the column itself, I would like the display of the title column to continue into the next column if adjacent cell column is empty.
It seems that 'overflow: hidden' might be the source of my problem. When I re-size the column, it seems this CSS gets reset from visible. More clues I guess.
An 'inline style' of 'overflow: hidden;' appears to be added from somewhere/thing when you adjust the column width via drag and drop.
Is there a CSS trick or something to fix/allow this with YUI2 tables?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论