AllenFang / AllenFang/react-bootstrap-table
[Help Wanted] Component lifecycle for pagination dropdown
未关闭
- 主要语言
- JavaScript
- 星标
- 2.2k
- 派生
- 761
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hello,
I am trying to add a custom attribute to the tags that form the buttons for pagination pages. I am currently using componentDidMount() to do the initial DOM manipulation and it works great. However when I alter the size per page (from 20 to All and then from All to 20), the tags other than the one for the first page loose the custom attribute.
My question is, is there any other life cycle method that I can use to re-manipulate the dom element cause componentDidMount() and componentDidUpdate() does not seem to do the trick.
Thanks..
贡献指南
评估
这个 Issue 还没有评估数据。