Commit Graph

601 Commits

Author SHA1 Message Date
AllenFang
91816fcc01 add stories for custom pagination 2018-12-22 14:03: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
5c52412542 fix remote pagination broken 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
AllenFang
d4be1675db refactoring pagination context 2018-12-22 14:03:02 +08:00
AllenFang
d3161f02eb Publish
- react-bootstrap-table2-example@1.0.12
 - react-bootstrap-table-next@1.4.3
2018-12-21 16:51:04 +08:00
AllenFang
4ddbfd4972 fix #711 2018-12-21 16:23:38 +08:00
AllenFang
e0163625d4 add expandable for expandColumnRenderer 2018-12-20 23:47:30 +08:00
AllenFang
24ab58a464 row expandable already calculated from row expand consumer, just use it instead do the logic again 2018-12-20 23:45:20 +08:00
Allen
6e19368733
Merge branch 'develop' into fix-nonExpandable-indicator-and-behaviour 2018-12-20 23:27:48 +08:00
AllenFang
bc4697bf95 fix #701 2018-12-20 23:20:12 +08:00
AllenFang
9d2a6a1b23 Publish
- react-bootstrap-table2-example@1.0.11
 - react-bootstrap-table-next@1.4.2
2018-12-05 23:31:35 +08:00
Vincent Degroote
aedd1f5942 Add expandColumn in storybook example for nonExpandable rows 2018-12-05 11:37:32 +01:00
Vincent Degroote
5a5f10f609 fix tests when nonExpndable is not given 2018-12-05 11:23:38 +01:00
Vincent Degroote
e041a3d736 revert not needed changes 2018-12-05 10:55:04 +01:00
Vincent Degroote
f175fd4186 Hide expand indicator if row is not expandable and prevent it from being expanded 2018-12-05 10:50:52 +01:00
AllenFang
5a6b7e122d fix #680 2018-12-02 17:45:42 +08:00
AllenFang
a7ae524c49 fix #675 2018-12-02 17:29:25 +08:00
AllenFang
a23599f52f fix #669 2018-12-02 17:04:32 +08:00
EricH
c50853b16d Fix typo in doc example code (#691) 2018-12-02 15:48:52 +08:00
Chun-MingChen
47aa41b8fa Remove unnecessary props 'bootstrap4' 2018-11-18 17:55:27 +08:00
AllenFang
67ed2e6c80 Publish
- react-bootstrap-table2-editor@1.2.2
 - react-bootstrap-table2-example@1.0.10
 - react-bootstrap-table2-filter@1.1.0
 - react-bootstrap-table2-paginator@1.0.4
 - react-bootstrap-table-next@1.4.1
2018-11-10 17:19:43 +08:00
AllenFang
78ca01bb1a fix #582 2018-11-10 16:58:02 +08:00
Yassien
b79dbc80f6 Condensed now takes bootstrap4 into consideration (#653) 2018-11-10 15:55:54 +08:00
AllenFang
3f21a67620 Merge branch 'develop' of https://github.com/react-bootstrap-table/react-bootstrap-table2 into develop 2018-11-10 15:54:10 +08:00
AllenFang
c6ea19fe8a enhance for #649 2018-11-10 15:53:20 +08:00
AllenFang
a5b42dca92 Merge branch 'fix-select-filter-typo' of https://github.com/jehartzog/react-bootstrap-table2 into jehartzog-fix-select-filter-typo 2018-11-10 15:45:08 +08:00
Allen
2530a70c00
fix #654 #611 (#660) 2018-11-10 15:42:59 +08:00
AllenFang
569dd61463 fix #655 2018-11-10 13:55:46 +08:00
EricH
68264b45ce fix #641 typo 2018-11-05 07:09:39 -07:00
AllenFang
e251068657 Publish
- react-bootstrap-table2-example@1.0.9
 - react-bootstrap-table2-filter@1.0.2
 - react-bootstrap-table-next@1.4.0
2018-11-05 00:11:59 +08:00
AllenFang
a0ba41c103 patch docs for #641 2018-11-04 16:32:13 +08:00
AllenFang
4a16cb314d add story for #641 2018-11-04 16:24:48 +08:00
AllenFang
98a04a5710 fix #641 2018-11-04 16:24:34 +08:00
AllenFang
4554db02d2 add story for advance selection contrl 2018-11-03 16:37:51 +08:00
AllenFang
b7fac973d2 fix #297 2018-11-03 16:37:02 +08:00
AllenFang
6925358631 Publish
- react-bootstrap-table2-editor@1.2.1
 - react-bootstrap-table2-example@1.0.8
 - react-bootstrap-table-next@1.3.1
2018-10-30 00:01:35 +08:00
AllenFang
bc0c048735 try to fix #620 2018-10-28 17:35:16 +08:00
AllenFang
5fac4540a1 patch test for #583 2018-10-28 16:59:44 +08:00
AllenFang
f7a06401ae patch docs and story for #583 2018-10-28 16:51:36 +08:00
AllenFang
858ad9543b fix #583 2018-10-28 16:51:13 +08:00
Allen
bacbfdbbf0
Merge pull request #633 from react-bootstrap-table/feat/604
Feat/604
2018-10-28 16:01:14 +08:00
AllenFang
465212ff35 patch story 2018-10-28 15:51:45 +08:00
AllenFang
2a58f99a97 add story for #604 2018-10-28 15:50:56 +08:00
AllenFang
7bda61f5be fix #604 2018-10-28 15:50:43 +08:00
AllenFang
f7a1c91904 patch story for #621 2018-10-28 14:32:39 +08:00
AllenFang
f1f4bd784d fix #621 2018-10-28 14:32:11 +08:00
AllenFang
b1e5c0cb20 Publish
- react-bootstrap-table2-editor@1.2.0
 - react-bootstrap-table2-example@1.0.7
 - react-bootstrap-table2-filter@1.0.1
 - react-bootstrap-table-next@1.3.0
2018-10-14 23:49:57 +08:00
AllenFang
01ec19344d patch docs and proptype for selectRow.clickToExpand 2018-10-14 16:04:04 +08:00
AllenFang
19be67c914 fix #599 2018-10-14 15:07:30 +08:00
AllenFang
166affc4c1 add story for #598 2018-10-14 14:44:19 +08:00
AllenFang
d0fb46e39f patch test for #598 2018-10-14 14:41:14 +08:00
AllenFang
828844a1e9 fix #598 2018-10-14 14:40:53 +08:00
Allen
774293b76d
Merge pull request #497 from react-bootstrap-table/refactor/selection-consumer
Row Refactoring with Consumer and perf improvement
2018-10-14 13:38:28 +08:00
Benjamin Cavy
e77cbdb2df Add MULTISELECT filter type in filter doc (#606) 2018-10-14 13:32:36 +08:00
AllenFang
ef2f828572 patch docs and story for #546 2018-10-11 00:08:31 +08:00
AllenFang
15731932cf fix #546 2018-10-11 00:08:13 +08:00
AllenFang
dd54294382 refine large table example 2018-10-10 23:54:11 +08:00
AllenFang
d45345ed10 binder -> consumer 2018-10-09 00:18:17 +08:00
AllenFang
dda8460017 implement selectRow.clickToExpand 2018-10-09 00:18:17 +08:00
AllenFang
6735536fd8 refactoring cell edit consumer 2018-10-09 00:18:17 +08:00
AllenFang
95623bbb5f fix selection header checkbox will be checked when table data is empty 2018-10-09 00:18:17 +08:00
AllenFang
9567c7829d refactoring shouldComponentUpdate for aggreate and simple row for cell editing 2018-10-09 00:18:17 +08:00
AllenFang
8499991c41 fix cell edit broken 2018-10-09 00:18:17 +08:00
AllenFang
1e76ca9bdb fix row-pure-content will not update in some case 2018-10-09 00:18:17 +08:00
AllenFang
fa13550d8c patch test for row selection consumer refactoring 2018-10-09 00:18:17 +08:00
AllenFang
709d59ce62 patch tests for row refactoring 2018-10-09 00:18:16 +08:00
AllenFang
66329ecdbf implement selection consumers 2018-10-09 00:18:16 +08:00
AllenFang
ee6cec5a2d refactoring row level components 2018-10-09 00:18:16 +08:00
AllenFang
52fc84899b fixed wrong conflict fixs for #514 2018-10-09 00:18:16 +08:00
AllenFang
8c10867b8c fix cell level performace, remain select all 2018-10-09 00:18:16 +08:00
AllenFang
640ada7659 patch tests for refactoring cell edit with consumer 2018-10-09 00:18:16 +08:00
AllenFang
73a5c34535 add story for dbclick to edit with row selection 2018-10-09 00:18:16 +08:00
AllenFang
2879cf891e refactoring cell edit consumer 2018-10-09 00:18:16 +08:00
AllenFang
994ed2e395 no more expand row props resolver 2018-10-09 00:18:16 +08:00
AllenFang
4b790e4bec patch test for refining expand row consumer 2018-10-09 00:18:16 +08:00
AllenFang
21e7c3a53a refine expand row consumer 2018-10-09 00:18:16 +08:00
AllenFang
6fce0d7066 add story for combine selection and expansion 2018-10-09 00:18:16 +08:00
AllenFang
02d78e5104 patch tests for refactoring row component with selection 2018-10-09 00:18:16 +08:00
AllenFang
41cc6b01af patch row event example 2018-10-09 00:18:16 +08:00
AllenFang
bd410e7303 refine selection consumer 2018-10-09 00:18:16 +08:00
Allen
eced3eef1f
Merge pull request #597 from react-bootstrap-table/feature/introduce-logo-to-storybook
Feature/introduce logo to storybook
2018-10-09 00:16:48 +08:00
Chun-MingChen
ca5a41a8b3 Change primary of github avatar to main color of logo 2018-10-08 00:19:29 +08:00
Chun-MingChen
7a31729ebb Introduce logo to <Welcome /> 2018-10-08 00:19:29 +08:00
Chun-MingChen
3a8faf8170 Add favicon 2018-10-07 23:57:16 +08:00
AllenFang
532581bb6e Publish
- react-bootstrap-table2-example@1.0.6
 - react-bootstrap-table2-paginator@1.0.3
 - react-bootstrap-table2-toolkit@1.1.1
 - react-bootstrap-table-next@1.2.1
2018-10-07 23:33:25 +08:00
AllenFang
10adbf472c fix no-console 2018-10-07 16:24:15 +08:00
Allen
a6e2f0f8f8
fix #589 (#594) 2018-10-06 23:42:55 +08:00
AllenFang
3ea816b2e6 add story for #587 2018-10-06 18:15:21 +08:00
AllenFang
b268c4e0cd fix #587 2018-10-06 18:15:21 +08:00
Allen
8b8f336878
fix #585 (#592) 2018-10-06 17:29:24 +08:00
Allen
8517248aee
fix #588 (#591) 2018-10-06 16:29:08 +08:00
AllenFang
ae0cd8a32f Publish
- react-bootstrap-table2-editor@1.1.0
 - react-bootstrap-table2-example@1.0.5
 - react-bootstrap-table2-toolkit@1.1.0
 - react-bootstrap-table-next@1.2.0
2018-09-30 14:26:34 +08:00
AllenFang
ee2885d055 fix #558 2018-09-29 16:13:09 +08:00
AllenFang
4ff5be706a patch docs and add story for #564 2018-09-29 15:30:04 +08:00
AllenFang
f8a3fedbb2 fix #564 2018-09-29 15:29:42 +08:00
AllenFang
dd0b8c6b0f add story and patch docs for #567 2018-09-29 15:13:23 +08:00
AllenFang
8f028d9dd4 fix #567, add selectRow.hideSelectAll 2018-09-29 15:12:27 +08:00
Allen
2c68f22646
fix #543 (#572) 2018-09-29 14:46:29 +08:00
AllenFang
2b12045017 patch docs and add story for #541 2018-09-29 14:32:57 +08:00
AllenFang
0cdf086d56 fix #541 2018-09-29 14:31:10 +08:00
Allen
d4fa9a84e3
fix #538 (#570) 2018-09-29 14:00:33 +08:00
Allen
c84fc84b9e
Merge pull request #569 from react-bootstrap-table/feat/527
Implement auto select input text when editing cell
2018-09-29 13:40:21 +08:00
AllenFang
ad8cdde513 patch docs and story for #527 2018-09-29 13:30:35 +08:00
AllenFang
db19e7dd9b fix #527 2018-09-29 13:30:35 +08:00
pnthang01
33b36e5108 add onContextMenu event (#556) 2018-09-29 12:54:23 +08:00
AllenFang
7a1ed67847 Publish
- react-bootstrap-table2-editor@1.0.1
 - react-bootstrap-table2-example@1.0.4
 - react-bootstrap-table2-toolkit@1.0.3
 - react-bootstrap-table-next@1.1.4
2018-09-03 23:29:46 +08:00
Chun-MingChen
f0d85520c0 Fix typo of peer dependency 2018-09-01 21:11:31 +08:00
AllenFang
5ac058c489 patch story for add cell.onStartEdit(#514) 2018-09-01 17:01:10 +08:00
AllenFang
ac38d2f28e fix #514 2018-09-01 17:00:34 +08:00
AllenFang
591abaae6e fix wonrg title 2018-09-01 16:39:26 +08:00
AllenFang
687583536a add stories for #510 2018-09-01 16:27:06 +08:00
AllenFang
d136ec3197 fix #510 2018-09-01 16:26:48 +08:00
AllenFang
3b1fc3a559 add dummy column story 2018-09-01 14:55:48 +08:00
AllenFang
849d9af8c4 fix #504 2018-09-01 14:52:29 +08:00
AllenFang
8d62261983 Publish
- react-bootstrap-table2-example@1.0.3
 - react-bootstrap-table-next@1.1.3
2018-08-27 23:05:23 +08:00
AllenFang
48258be346 fix #491 2018-08-27 22:42:48 +08:00
Allen
9d37b23050
fix #505 (#509) 2018-08-26 14:02:49 +08:00
Allen
d64ee2e5e4
Merge pull request #508 from react-bootstrap-table/enhance/501
fix #501
2018-08-26 13:25:59 +08:00
Allen
ad351b28ea
Merge pull request #496 from react-bootstrap-table/enhancement/bootstrap-4-story
Stories for Bootstrap 4
2018-08-26 13:24:53 +08:00
AllenFang
15a55030a2 fix #501 2018-08-26 13:12:30 +08:00
AllenFang
345cb83493 Publish
- react-bootstrap-table2-example@1.0.2
 - react-bootstrap-table2-paginator@1.0.2
 - react-bootstrap-table2-toolkit@1.0.2
 - react-bootstrap-table-next@1.1.2
2018-08-21 17:05:08 +08:00
AllenFang
2b6081ab31 Merge branch 'issue-363' of https://github.com/COzero/react-bootstrap-table2 into COzero-issue-363 2018-08-20 23:23:32 +08:00
AllenFang
c935447266 Merge branch 'develop' of https://github.com/react-bootstrap-table/react-bootstrap-table2 into develop 2018-08-20 22:59:36 +08:00
AllenFang
ba1d6fa3ed fix #498 2018-08-20 22:59:14 +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
Chun-MingChen
ac23c31771 Expose static file folder when exporting storybook 2018-08-19 01:04:42 +08:00
Chun-MingChen
8b52053af2 Add stories for bootstrap 4
* row-selction, sort and pagination
2018-08-19 01:04:42 +08:00
Chun-MingChen
a0f32bd6e3 Import bootstrap style by given version 2018-08-19 01:04:42 +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
AllenFang
5e63d6ae59 avoid infinite remote search 2018-08-15 23:08:46 +08:00
AllenFang
e3ca6f2c24 Publish
- react-bootstrap-table-next@1.1.1
2018-08-13 22:01:15 +08:00
Jeremy Nagel
96d33a60ba Add snapshot tests 2018-08-13 16:50:43 +10:00
Jeremy Nagel
03389aece0 Merge branch 'master' of github.com:react-bootstrap-table/react-bootstrap-table2 into issue-363 2018-08-13 16:45:34 +10:00
AllenFang
f86876ba51 Publish
- react-bootstrap-table2-example@1.0.1
 - react-bootstrap-table2-paginator@1.0.1
 - react-bootstrap-table2-toolkit@1.0.1
 - react-bootstrap-table-next@1.1.0
2018-08-12 14:41:44 +08:00
AllenFang
3663d1d4fe fix Warning: Failed prop type: Invalid prop of type supplied to , expected 2018-08-12 13:53:29 +08:00
Allen
6225f0e5cb
fix #471 (#481) 2018-08-12 13:32:12 +08:00
Allen
f0fd06a5f5
fix #465 (#470) 2018-08-11 15:17:41 +08:00
Allen
b181c98a38
Merge pull request #449 from react-bootstrap-table/enhance/performance-cell-level
Enhance/performance on cell level
2018-08-11 15:17:15 +08:00
Allen
1f51f1a08d
fix #464 (#469) 2018-08-11 15:03:17 +08:00
Allen
586acaed68
fix #455 (#468) 2018-08-11 13:33:52 +08:00
Allen
528be5c058
fix #453 (#467) 2018-08-11 13:32:44 +08:00
AllenFang
54b98f41f4 implement shouldComponentUpdate on cell component 2018-08-05 16:05:22 +08:00
AllenFang
ffac3a42c5 add a large table example 2018-08-05 16:05:22 +08:00
AllenFang
97b9e1097b fix wrong title 2018-08-05 16:05:22 +08:00
AllenFang
a6de7fa84a integrate with underscroe.js 2018-08-05 16:05:22 +08:00
AllenFang
3ec849bd94 Publish
- react-bootstrap-table2-editor@1.0.0
 - react-bootstrap-table2-example@1.0.0
 - react-bootstrap-table2-filter@1.0.0
 - react-bootstrap-table2-overlay@1.0.0
 - react-bootstrap-table2-paginator@1.0.0
 - react-bootstrap-table2-toolkit@1.0.0
 - react-bootstrap-table-next@1.0.0
2018-08-04 16:03:04 +08:00
AllenFang
cb970cded5 fix peerdep 2018-08-04 14:47:46 +08:00
AllenFang
d5d8c54d98 fix React doesn't allow Date Object as children 2018-08-01 20:26:01 +08:00
AllenFang
2ec55f6de9 patch for default sort and filter have potential issue when remote 2018-08-01 20:26:01 +08:00
AllenFang
f7406bcafc add toolkits styles 2018-08-01 20:26:01 +08:00
AllenFang
925d3d7841 final docs patch 2018-08-01 20:26:00 +08:00
AllenFang
62c69490f2 add bootstrap4 style links 2018-08-01 20:26:00 +08:00
AllenFang
3f957db56b fix pagination broken when bootstrap4 2018-08-01 20:26:00 +08:00
AllenFang
495875792f refine new context API tests 2018-08-01 20:26:00 +08:00
AllenFang
c0416fc307 fix selection column broken when bootstrap4 2018-08-01 20:26:00 +08:00
AllenFang
0d64443b26 fix sort caret broken on bootstrap4 2018-08-01 20:26:00 +08:00
AllenFang
7919a4001d enhance for #402 2018-08-01 20:26:00 +08:00
AllenFang
fadbcdaa24 a workaround for fixing the _ module missing 2018-08-01 20:26:00 +08:00
AllenFang
ec77a0539d patch docs for export CSV 2018-08-01 20:26:00 +08:00
AllenFang
b792803974 add export csv stories 2018-08-01 20:26:00 +08:00
AllenFang
f0e37b130c implement export csv 2018-08-01 20:26:00 +08:00
AllenFang
03ece4b1fc refactoring search 2018-08-01 20:26:00 +08:00
AllenFang
0ec5b6cb9f add simple toolkit context wrapper for user 2018-08-01 20:26:00 +08:00
AllenFang
e6d4a9641b data, keyField and columns is necessary value for toolkits context 2018-08-01 20:26:00 +08:00
AllenFang
5a442bf7ed add missing expandRow props 2018-08-01 20:26:00 +08:00
AllenFang
c36aa24c65 fix filter context tests broken due to missing onExternalFilter 2018-08-01 20:26:00 +08:00
AllenFang
81ddd2c25b add stories for expand indicator 2018-08-01 20:26:00 +08:00
AllenFang
4af5b4f6ef implement expand indicator 2018-08-01 20:26:00 +08:00
AllenFang
dbd0f89a3d add stories for expand row 2018-08-01 20:26:00 +08:00
AllenFang
35b1e37940 implement expand row sketch 2018-08-01 20:26:00 +08:00
AllenFang
6eaffe1993 patch docs for table search 2018-08-01 20:26:00 +08:00
AllenFang
46f0ce493b prepare builds for react-bootstrap-table2-toolkit 2018-08-01 20:26:00 +08:00
AllenFang
18b785d655 update peer dependencies for react react-dom 2018-08-01 20:26:00 +08:00
AllenFang
7b15bf45d9 patch tests for search 2018-08-01 20:26:00 +08:00
AllenFang
0d4d32c6e4 patch for remote cell edit 2018-08-01 20:26:00 +08:00
AllenFang
760d459414 add example for tble search 2018-08-01 20:26:00 +08:00
AllenFang
77301c2cf1 implement table search 2018-08-01 20:26:00 +08:00
AllenFang
78ea63074e fix bug for default sort and filter have potential issue when remote is enable 2018-08-01 20:26:00 +08:00
AllenFang
9c677fe174 enhance remote all example 2018-08-01 20:26:00 +08:00
AllenFang
c13b3fa197 patch test for editor, filter, pagination 2018-08-01 20:26:00 +08:00
AllenFang
167352f199 fix selectRow doesnt pass to CellEditContext 2018-08-01 20:17:18 +08:00
AllenFang
fc0b99e8a0 patch tests for react-bootstrap-table-next 2018-08-01 20:17:18 +08:00
AllenFang
74bf885d47 remove useless code 2018-08-01 20:17:17 +08:00
AllenFang
400c307871 refine remote method 2018-08-01 20:17:17 +08:00
AllenFang
b1c086f424 fix cache context issue 2018-08-01 20:17:17 +08:00
AllenFang
d534c425d3 change to partial selection when pagination enabled 2018-08-01 20:17:17 +08:00
AllenFang
4ecf2433d0 no more state anti-pattern 2018-08-01 20:17:17 +08:00
AllenFang
6c086c3892 implement pagination context 2018-08-01 20:17:17 +08:00
AllenFang
1e72c80566 construct context dynamically 2018-08-01 20:17:17 +08:00
AllenFang
8f4dc9907a implement filter context 2018-08-01 20:17:17 +08:00
AllenFang
2f7d0104a0 add clear all filter story 2018-08-01 20:14:33 +08:00
AllenFang
4f6809de84 fix custom filter value example broken 2018-08-01 20:14:33 +08:00
AllenFang
216bc10142 implement celledit context 2018-08-01 20:14:33 +08:00