vue-tree-grid icon indicating copy to clipboard operation
vue-tree-grid copied to clipboard

能不能默认展开 children?

Open wangxdmm opened this issue 7 years ago • 14 comments

wangxdmm avatar Jan 08 '18 10:01 wangxdmm

@wQueryLoveMm 需要修改源码中的initData部分代码 可以实现 image this.default是一个数组,是需要展开的父级id集合

huanglong6828 avatar Jan 09 '18 03:01 huanglong6828

谢谢~~我试试~么么哒

wangxdmm avatar Jan 10 '18 06:01 wangxdmm

最新的1.0版本,如何设置默认全部展开呢?

todebug avatar Feb 27 '18 04:02 todebug

展开后父根元素不显示了,只显示子目录,请问能否加上参数控制,是默认全部展开还是默认全部隐藏。

tong822218 avatar Mar 15 '18 02:03 tong822218

@tong822218 道友可以自己下载源码尝试修改 因为需求不同 放出源码提供大家自己完善

huanglong6828 avatar Mar 15 '18 02:03 huanglong6828

@tong822218 我后来自己研究了下 实现了默认全展开的 .(期望很简单,全展开即可)

todebug avatar Mar 15 '18 02:03 todebug

谢谢楼主提供的代码 作为一个后端拿来改改就用了,只是也研究了一段时间.

todebug avatar Mar 15 '18 02:03 todebug

@todebug 感谢支持

huanglong6828 avatar Mar 15 '18 02:03 huanglong6828

@huanglong6828 感谢分享

tong822218 avatar Mar 15 '18 02:03 tong822218

2.0版本如何设置全部展开。

FunctionDream avatar May 03 '18 05:05 FunctionDream

@FunctionDream wx: jayclan
我在作者大大的基础上改了下 基本支持了默认全展 如果还没搞定可以联系下

todebug avatar May 14 '18 07:05 todebug

@todebug 兄弟如果方便的话。可以发[email protected]的邮箱。麻烦了!!!

FunctionDream avatar May 16 '18 07:05 FunctionDream

@FunctionDream 已发

todebug avatar May 16 '18 07:05 todebug

@todebug 请问可以发下默认展开的代码吗?[email protected],多谢!

Freankll avatar Jul 27 '18 09:07 Freankll