AllenFang / AllenFang/react-bootstrap-table
[Help Wanted] Component lifecycle for pagination dropdown
Abierto
- Lenguaje dominante
- JavaScript
- Estrellas
- 2.2k
- Forks
- 761
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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..
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.