AllenFang / AllenFang/react-bootstrap-table
[Help Wanted] Component lifecycle for pagination dropdown
Ouverte
- Langage dominant
- JavaScript
- Étoiles
- 2.2k
- Forks
- 761
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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..
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.