SETSTATE表之后,第一行重叠标头行
SetState完成后,表将重新加载新的数据,但表排在标题行中。我发现动态添加tranform:translate(0px,-16px)
。我试图更改CSS,但是滚动不起作用之后。请参阅一次屏幕截图。
<Table keygen="peer" fixed="both" style={{ maxHeight: 600 }} columns={columns} data={dataResponse} format="id" width={width} />
在执行以上问题以上问题获得后,此设置与表无关
this.setState({ isTableEmptyFlag:false,templates: templatesList, })
Once setstate done, table reloads fresh data but table top row going inside header row. I found dynamically adding tranform:translate(0px,-16px)
. I tried to change CSS but after that scroll not working. Plz see the screenshot once.
<Table keygen="peer" fixed="both" style={{ maxHeight: 600 }} columns={columns} data={dataResponse} format="id" width={width} />
after executing of below setstate above issue getting, this setstate is not related to table
this.setState({ isTableEmptyFlag:false,templates: templatesList, })
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论