AllenFang / AllenFang/react-bootstrap-table
[Help Wanted] Component lifecycle for pagination dropdown
Aperta
- Lingua principale
- JavaScript
- Stelle
- 2.2k
- Fork
- 761
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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..
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.