Skip to content
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

展开懒加载是否可以支持默认展开 #17

Closed
szmxx opened this issue Apr 21, 2023 · 5 comments
Closed

展开懒加载是否可以支持默认展开 #17

szmxx opened this issue Apr 21, 2023 · 5 comments

Comments

@szmxx
Copy link

szmxx commented Apr 21, 2023

https://xiaocheng555.github.io/el-table-virtual-scroll/#/VTreeDemo?code=VTreeDemo&codeTitle=%E6%A8%A1%E6%8B%9F%E6%A0%91%E7%BB%93%E6%9E%84%E6%87%92%E5%8A%A0%E8%BD%BD

这个demo是否可以支持默认展开某层级,或者多层级

@xiaocheng555
Copy link
Owner

@szmxx
Copy link
Author

szmxx commented Apr 23, 2023

我想了一个思路,你看这样是否可行?
有些代码可以放库内部 ->
https://codesandbox.io/s/youthful-wave-zjzbjk?file=/src/datamap.json:3840093-3840096

@xiaocheng555
Copy link
Owner

我想了一个思路,你看这样是否可行? 有些代码可以放库内部 -> https://codesandbox.io/s/youthful-wave-zjzbjk?file=/src/datamap.json:3840093-3840096

好的,我后续完善一下

@blue-cave
Copy link

@xiaocheng555 ,哥哥能支持一下ie11吗,这个插件确实很好用

@xiaocheng555
Copy link
Owner

我想了一个思路,你看这样是否可行? 有些代码可以放库内部 -> https://codesandbox.io/s/youthful-wave-zjzbjk?file=/src/datamap.json:3840093-3840096

感谢提供demo!!

现在支持手动展开行:

image

并且改了你的demo放在这里了:

https://xiaocheng555.github.io/el-table-virtual-scroll/#/VTreeDemo2?code=VTreeDemo2&codeTitle=%E6%A8%A1%E6%8B%9F%E6%A0%91%E7%BB%93%E6%9E%84%E6%87%92%E5%8A%A0%E8%BD%BD2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants