Commit Graph

33 Commits

Author SHA1 Message Date
AllenFang
cacc28e1bc fix test cases 2019-02-09 20:28:28 +08:00
AllenFang
903dd2e5c8 rename listenerForPagination -> dataChangeListener 2019-02-07 15:34:03 +08:00
AllenFang
ecea3efdaa fix #778 2019-02-06 18:05:53 +08:00
AllenFang
41da9afbcb paginationBaseProps -> paginationTableProps 2018-12-22 15:55:02 +08:00
AllenFang
620309115f extract useless function from pagination ro paginationHandler 2018-12-22 14:03:02 +08:00
AllenFang
297f3e0c4f implement SizePerPageDropdownStandalone 2018-12-22 14:03:02 +08:00
AllenFang
d42a10bbae implement PaginationListStandalone 2018-12-22 14:03:02 +08:00
AllenFang
a5f74cecfe implement sizePerPageRenderer 2018-12-22 14:03:02 +08:00
AllenFang
a30a8fd96b implement sizePerPageOptionRenderer 2018-12-22 14:03:02 +08:00
AllenFang
424dbea270 implement pageListRenderer 2018-12-22 14:03:02 +08:00
AllenFang
b261c33e37 implement pageButtonRenderer 2018-12-22 14:03:02 +08:00
AllenFang
7dbdc1943b patch pagination context test suites 2018-12-22 14:03:02 +08:00
Allen
a6e2f0f8f8
fix #589 (#594) 2018-10-06 23:42:55 +08:00
Allen
1b3b68f8a7
fix controlled page state will effect the internal page state when internal table rerender (#492) 2018-08-19 12:43:52 +08:00
copas2
4a3486cc3c fix #488
* updated test for pagination fix

* suspected bug in page.js

Local pagination aligning returns start page when eg editing cell locally. This results in state change, too. Not really getting the purpose of the original idea. Please consider this modification. It only checks if page fits in the data size range. As I saw, this alignment only affects local pagination, not remote.

* modified fix w/ pageStartIndex

I forgot to mind pageStartIndex
2018-08-16 17:16:47 +08:00
Allen
528be5c058
fix #453 (#467) 2018-08-11 13:32:44 +08:00
AllenFang
3f957db56b fix pagination broken when bootstrap4 2018-08-01 20:26:00 +08:00
AllenFang
7919a4001d enhance for #402 2018-08-01 20:26:00 +08:00
AllenFang
c13b3fa197 patch test for editor, filter, pagination 2018-08-01 20:26:00 +08:00
Allen
85a9ab72af fix #402 (#412) 2018-07-15 14:18:21 +08:00
sean
6e753bb955 Prevent remote pagination from setting the page incorrectly 2018-06-06 15:11:54 +02:00
sean-ww88
d592871c0d Adding custom pagination total 2018-05-30 17:29:58 +02:00
AllenFang
c20a4bb220 fix #238 2018-05-06 15:08:20 +08:00
AllenFang
9b3abac56d react-bootstrap-table2 -> react-bootstrap-table-next 2018-01-20 14:55:58 +08:00
AllenFang
a9dd05d7cc fix entry point changed 2018-01-18 22:53:51 +08:00
AllenFang
fb81595f73 refactoring wrapper mechanism 2017-12-25 17:32:14 +08:00
AllenFang
c4eb2f835f refine remote mode on filter and pagination 2017-12-24 16:16:40 +08:00
AllenFang
ba93a6ce9c All the downstream wrapper for filter wrapper should checking props.isDataChange 2017-12-16 17:55:25 +08:00
AllenFang
297c5ad438 fix pagination bug 2017-12-16 15:16:03 +08:00
Allen
da907d46f0
fix liftcycle issue (#149) 2017-12-10 19:32:43 +08:00
Allen
574a3146fc
funcaitonal store (#146) 2017-12-09 14:56:09 +08:00
AllenFang
28f1bdb49f patch tests for remote pagination 2017-12-02 16:01:33 +08:00
Allen
3c88364efe
fix #135
* init react-bootstrap-table2-paginator

* add react-bootstrap-table2-paginator as dependency

* no container

* handle for wrapping pagination component

* add style for paginator addon

* add story for pagination

* implement pagination list

* constants maintain in core package

* implement sizePerPage dropdown

* fix unalign for sizePerPage dropdown and pagination list

* allow to return array from render(react@16 new feature)

* implement pagination hooks

* add story for pagination hooks

* fixed dependencies version and upgrade enzyme

* Shallow renderer no longer calls componentDidMount because DOM refs are not available

* classNames -> className for TextEditor

* add tests for pagination

* fix react-bootstrap-table can't be resolved in other modules

* implement custom page button title

* add test for page button title

* fix bug when sizePerPageList is an object array

* add story for custom pagination

* remove necessary component extends

* move pagination options to react-bootstrap-table2-paginator

* refine pagination stories

* implement hideSizePerPage

* implement hidePageListOnlyOnePage

* fix multiple same key warning

* remove help

* support start from react@^16
2017-11-19 17:42:20 +08:00