tiny-vue
tiny-vue copied to clipboard
✨ [Feature]: Grid 列默认隐藏没有简便的配置方式。
What problem does this feature solve
假如有10列,要默认隐藏其中不重要的列。
手动隐藏显示列
colGrid.hideColumn(column)、colGrid.showColumn(column)
服务端存储
调用接口获取到个性化的数据后需手动调用 reloadCustoms
感觉这两种方法都太繁琐了,不想用服务端存储,也不想去遍历列根据列名去判断是否隐藏。
如果grid-column能加个配置 visible : true | false,直接控制默认是否显示,就简单多了。
What does the proposed API look like
visible : true | false
Bot detected the issue body's language is not English, translate it automatically.
Title: ✨ [Feature]: Grid columns are hidden by default and there is no easy configuration method.