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 還沒有評估資料。