New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
树形的table中设置rowSpan会出现 异常现象,为什么会这样呢 #4485
Comments
@afc163 能帮忙看看吗 |
http://codepen.io/spademan/pen/JEoVrr @spademan 这例子你期望的样子是什么样的? |
生成的 DOM 结构没问题,例子里设置 rowSpan 逻辑就有点怪。 |
@yesmeck 我的初衷是想在 某个父级 td下设置 colspan 让他和子集的td合并显示.,某些不需要 |
rowSpan 是向下合并的,这里生成的 DOM 结果没错,你再想想怎么写吧。有问题再 open。 |
你可能没有仔细去 交互一下,我改了一下代码 展开树形结构和关闭树形结构 就能看到异常的排版了http://codepen.io/spademan/pen/JEoVrr |
http://codepen.io/yesmeck/pen/dNoeed?editors=0010 自己根据 expandedKeys 去计算 rowSpan。 |
我也是差不多这个解决方式,不过你觉得不是设计缺陷的话 ....那就没什么好说了....辛苦了 |
你期望什么样的行为呢? |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Environment(required)
What did you do? Please provide steps to re-produce your problem.
What do you expected?
What happen?
Re-producible online demo
第330行代码 设置为1就正常 设置为大于1就不正常
http://codepen.io/spademan/pen/apzLYX
The text was updated successfully, but these errors were encountered: