react-bootstrap-table icon indicating copy to clipboard operation
react-bootstrap-table copied to clipboard

Saving pagination, how many rows, and search value with redux

Open raevangregson opened this issue 8 years ago • 3 comments

I am trying to save the pagination, how many rows showing selected, search value and any column sorting thats been set by the user so I can save to state using redux, this way when the user navigates off and back to the page with the table there settings are still there. Do you have a suggestion for the best way to do this?

raevangregson avatar Feb 03 '18 15:02 raevangregson

sure, react-bootstrap-table have some hooks/listener so that you can collect page/sort/filter change's information.

AllenFang avatar Feb 16 '18 03:02 AllenFang

we got a lots of examples: https://github.com/AllenFang/react-bootstrap-table/tree/master/examples/js . let me know if you have any qurstions, thanks

AllenFang avatar Feb 16 '18 03:02 AllenFang

Thanks I ended up finding The callbacks I needed after doing some digging, thanks!

raevangregson avatar Feb 16 '18 03:02 raevangregson