[Feature] 表格高度保持100%, 内部的item的heightMode可以设置为标准。
What problem does this feature solve?
如下图是demo设置autoFillHeight: true,heightMode: 'adaptive'的效果。实际想要的效果就是表格的高度保持跟外层canvas的高度一致,但是每一条item的高度并不需要自适应拉伸撑满整个表格。 这样用户在切换数据源时,整个表格不会有跳动感。
想要的效果如下:
What does the proposed API look like?
heightMode: 'adaptive', heightMode: 'standard'
感谢你的反馈!我们已经收到你的问题,并将在后续进行处理。
如果有开发者对这个 issue 感兴趣,请在issue下方留言“认领该issue”,留言后开始你的创作提pr给我们!
欢迎大家参与开源共建!我们非常感激每一位贡献者,提交pr后我们将为参与共建的开发者准备一份礼品。
参与共建可参考:https://visactor.io/vtable/guide/Contribution_Guide
与官方开发者交流问题可以下载飞书app扫码加入飞书群:
再次感谢你的支持!
Thank you for your feedback! We have received your question and will deal with it later. If any developer is interested in this issue, please leave a message "claim this issue" below the issue. Welcome to participate in open source co-construction! We are very grateful to every contributor. After submitting the PR, we will prepare a gift for the developers who participated in the co-construction. For participation in co-construction, please refer to: https://visactor.io/vtable/guide/Contribution_Guide To communicate with official developers, you can download the Feishu app and scan the QR code to join the Feishu group! Thank you again for your support!
canvasHeight设置为auto,并不能满足这个需求。 期望是当item条数较少时,表格线展示如下图所示:
请问解决了吗?
https://github.com/VisActor/VTable/issues/3337#issuecomment-2919165533
滚动条