Commit Graph

585 Commits

Author SHA1 Message Date
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
AllenFang
5307e58813 implement data operator 2018-08-01 20:14:33 +08:00
AllenFang
143acde35e refactoring remote sort 2018-08-01 20:14:33 +08:00
AllenFang
2525465a5a implement sort context 2018-08-01 20:14:33 +08:00
AllenFang
6d08a24a8f implement selection context 2018-08-01 20:14:33 +08:00
AllenFang
906180ad3f implement context-based container 2018-08-01 20:14:33 +08:00
AllenFang
37e79a654b Publish
- react-bootstrap-table2-example@0.1.12
 - react-bootstrap-table2-filter@0.3.2
2018-08-01 19:54:44 +08:00
AllenFang
38d3e2df05 patch docs for multiselect filter 2018-07-31 16:57:34 +08:00
AllenFang
4e204f1ccd refine multiselect 2018-07-31 16:55:17 +08:00
AllenFang
7e29999b40 patch multiselect filter's stories 2018-07-31 16:54:48 +08:00
Allen
01cf69392f
Merge pull request #438 from Ignalion/multiselectv2
Multiselectv2
2018-07-31 16:29:19 +08:00
AllenFang
7d7688582b Publish
- react-bootstrap-table2-filter@0.3.1
2018-07-30 23:27:23 +08:00
ignalion
485503c54d Added correct handling of empty selection (first line) 2018-07-29 15:45:58 +03:00
ignalion
3c37716dd2 little fix for curly brace 2018-07-29 15:45:58 +03:00
ignalion
1a7f86a321 Added tests for multiselect filter 2018-07-29 15:45:58 +03:00
ignalion
475f8c67b0 Added some examples for multi-select filter 2018-07-29 15:45:58 +03:00
ignalion
26314254be Added multiselect filter (mostly copied from default select one) 2018-07-29 15:45:58 +03:00
Benny Johnson
6522f6d964 Commented out a check which caused the date filter to not update the (#425)
table when the date or date comparator were cleared

Modified applyFilter in date.js so that it doesn't try to parse an
Invalid Date. It was parsing an empty string, which caused it to pass
through an invalid date to onFilter, and this wasn't being checked for
properly by the onFilter function. It now checks for the empty string
and passes in null, which is what the onFilter function was actually
checking for
2018-07-25 11:20:35 +08:00
Nathan
90d03676ad
import numberFilter in numberFilter example 2018-07-16 18:06:51 -04:00
Jeremy Nagel
f35d644608 [BUGFIX] Fix issue with missing onChange prop for selection checkbox 2018-07-16 11:18:02 +10:00
AllenFang
2585a62697 Publish
- react-bootstrap-table2-example@0.1.11
 - react-bootstrap-table2-paginator@0.1.6
 - react-bootstrap-table-next@0.1.15
2018-07-15 16:08:59 +08:00
Allen
6f5bd1a13d
fix #394 (#414) 2018-07-15 14:43:29 +08:00
Allen
85a9ab72af fix #402 (#412) 2018-07-15 14:18:21 +08:00
AllenFang
258ea43225 Publish
- react-bootstrap-table2-example@0.1.10
 - react-bootstrap-table2-filter@0.3.0
 - react-bootstrap-table2-paginator@0.1.5
 - react-bootstrap-table-next@0.1.14
2018-06-24 22:42:50 +08:00
AllenFang
eb74625835 patch docs for custom filter 2018-06-24 15:15:57 +08:00
AllenFang
cbaec4c655 add stories for custom filter 2018-06-24 15:04:59 +08:00
AllenFang
04c21cb63d implement custom filter 2018-06-24 15:03:46 +08:00
AllenFang
7d72002b6e fix wrong eslint rule 2018-06-24 13:16:48 +08:00
AllenFang
1152bb8440 fix #380 2018-06-23 13:49:38 +08:00
Allen
42c6bc0337
Merge pull request #371 from sean-ww/fix/remote-filtered-pagination
Prevent remote pagination from setting the page incorrectly
2018-06-23 12:59:02 +08:00
sean
6e753bb955 Prevent remote pagination from setting the page incorrectly 2018-06-06 15:11:54 +02:00
AllenFang
64df3e1fae Publish
- react-bootstrap-table2-example@0.1.9
 - react-bootstrap-table2-filter@0.2.0
 - react-bootstrap-table2-overlay@0.1.2
 - react-bootstrap-table2-paginator@0.1.4
 - react-bootstrap-table-next@0.1.13
2018-06-04 13:53:02 +08:00
AllenFang
36e754b6bc patch docs 2018-06-03 22:58:03 +08:00
AllenFang
6730dcf60d fix overlay test bugs 2018-06-03 22:52:15 +08:00
AllenFang
7253d7a1d7 fix overlay tests 2018-06-03 20:40:31 +08:00
AllenFang
a6daa50417 improve overlay wrapping 2018-06-03 15:50:10 +08:00
AllenFang
b11019ce20 fix #358 2018-06-03 14:49:58 +08:00
Allen
dda47f7b7d
Merge pull request #365 from react-bootstrap-table/feat/349
Feat/349
2018-06-03 14:39:22 +08:00
AllenFang
4da8ba7ecc patch docs for date filter 2018-06-03 14:24:20 +08:00
Allen
2ff0b27747
Merge pull request #359 from sean-ww/feature/pagination-total
Adding custom pagination total
2018-06-03 14:18:50 +08:00
AllenFang
c3f279fb0c patch tests for date filter 2018-06-03 14:04:06 +08:00
AllenFang
06bcf1edca add stories for date filter 2018-06-03 14:03:38 +08:00
AllenFang
fc1f75cfac implement date filter 2018-06-03 14:02:39 +08:00
sean
1cf12ab707 paginationTotal renamed to paginationTotalRenderer 2018-06-02 10:43:56 +02:00
Allen
288ccc1049
Merge pull request #364 from react-bootstrap-table/feat/351
Fix #351
2018-06-02 15:37:51 +08:00
AllenFang
e72ad0586e add story for custom selection column 2018-06-02 15:20:57 +08:00
AllenFang
c2044fe8b5 patch test for selection box 2018-06-02 15:20:40 +08:00
AllenFang
a7b3690a7c custom selection box 2018-06-02 15:20:19 +08:00
Amol Udage
68afc348db fixes sorting issue (#354)
+ when remote sort is true then disable client side sorting
2018-06-02 13:21:25 +08:00
sean-ww88
5404124a78 Added missing commas on the custom pagination example 2018-05-30 17:35:27 +02:00
sean-ww88
d592871c0d Adding custom pagination total 2018-05-30 17:29:58 +02:00
AllenFang
765a49fb07 Publish
- react-bootstrap-table-next@0.1.12
2018-05-23 22:44:40 +08:00
Allen
fe2fd93c20
fix the bool rendering issues in React (#340) (#348) 2018-05-23 22:42:46 +08:00
AllenFang
a50148fe85 Publish
- react-bootstrap-table2-example@0.1.8
 - react-bootstrap-table2-filter@0.1.7
 - react-bootstrap-table-next@0.1.11
2018-05-14 23:09:49 +08:00
AllenFang
ed2ba2a5c5 fix #334 2018-05-14 22:44:28 +08:00
AllenFang
f87fe3e544 patch docs, example and test for wrapperClasses 2018-05-12 13:54:40 +08:00
MikeSha
43e73313e6 implement wrapperClasses(#325) 2018-05-12 13:40:24 +08:00
Allen
888aa1d08b
fix #303 (#330) 2018-05-10 14:07:24 +08:00
AllenFang
8f3b989b00 Publish
- react-bootstrap-table2-editor@0.2.1
2018-05-08 22:23:23 +08:00
AllenFang
fe8761427d Publish
- react-bootstrap-table2-paginator@0.1.3
2018-05-08 22:22:47 +08:00
AllenFang
27a09de008 Publish
- react-bootstrap-table-next@0.1.10
2018-05-08 22:22:10 +08:00
AllenFang
20ba8cc24e Publish
- react-bootstrap-table2-editor@0.2.0
 - react-bootstrap-table2-example@0.1.7
 - react-bootstrap-table2-paginator@0.1.2
 - react-bootstrap-table-next@0.1.9
2018-05-06 16:59:28 +08:00
Allen
b8b52e7fc0
20180507 release #326
20180507 release
2018-05-06 16:57:29 +08:00
Allen
05a8c3be5f
fix #309 (#324) 2018-05-06 15:50:18 +08:00
AllenFang
01be6fc275 example for #238 2018-05-06 15:08:43 +08:00
AllenFang
c20a4bb220 fix #238 2018-05-06 15:08:20 +08:00
AllenFang
f2a44c976d patch docs 2018-05-06 13:50:59 +08:00
AllenFang
ca5189d8ad patch tests for rich editors 2018-05-05 18:18:52 +08:00
AllenFang
03f51c36ac add example for rich cell editor 2018-05-05 18:18:52 +08:00
AllenFang
607202b4e9 implement rich cell editor 2018-05-05 18:18:52 +08:00
AllenFang
4db4f4fb2d Publish
- react-bootstrap-table2-example@0.1.6
 - react-bootstrap-table2-filter@0.1.6
 - react-bootstrap-table-next@0.1.8
2018-04-15 21:25:09 +08:00
Allen
1d7df6819e
2018/04/01 release
2018/04/01 release
2018-04-15 21:21:50 +08:00
Allen
e4b6993692
fix #302 (#304) 2018-04-15 17:29:17 +08:00
Chun-MingChen
a82e611358 [test] add test for pogrammatically filter 2018-04-04 17:58:19 +08:00
Chun-MingChen
c64951fd6f [test] correct tests for filter components
* <Text />, <Select /> and <Numbner />
2018-04-04 17:58:19 +08:00
Chun-MingChen
a35701fabf [test] correct test for filter wrapper 2018-04-04 17:58:19 +08:00
Chun-MingChen
f54c1f77b4 display filter condition correctly and make sure text filter to be String 2018-04-04 17:58:19 +08:00
Chun-MingChen
377534512a rename props and variable in samples for better readability 2018-04-04 17:45:56 +08:00
Chun-MingChen
09032349d0 [example] example for programmatically filter by text, number and select 2018-04-04 17:45:56 +08:00
Chun-MingChen
4dd39aeed8 export onFilter function to allow user to access 2018-04-04 17:45:56 +08:00
Chun-MingChen
a1477e2ad3 filter column by new onFilter 2018-04-04 17:45:56 +08:00
Chun-MingChen
f34cb4bf63 allow user to filter column without inputField
* wrap onFilter to HOF to allow filter dynamically
2018-04-04 17:45:56 +08:00
AllenFang
3dc9cd3941 Publish
- react-bootstrap-table2-editor@0.1.5
 - react-bootstrap-table2-filter@0.1.5
 - react-bootstrap-table-next@0.1.7
2018-04-02 23:46:59 +08:00
AllenFang
e8458b4b63 Publish
- react-bootstrap-table2-editor@0.1.4
 - react-bootstrap-table2-example@0.1.5
 - react-bootstrap-table2-filter@0.1.4
 - react-bootstrap-table-next@0.1.6
2018-04-01 15:56:53 +08:00
Allen
1d87ce9ffc
2018/04/01 release
2018/04/01 release
2018-04-01 15:55:45 +08:00
Allen
88e1a0774b
fix #281 2018-04-01 14:14:32 +08:00
Patrick O'Meara
11d4f40089 noDataIndication (#276)
* use the correct amount of cells when the first row is select
* storybook added for development, not necessary in docs

fixes react-bootstrap-table/react-bootstrap-table2#264
2018-04-01 13:34:06 +08:00
Patrick O'Meara
41dc3ef619 empty noDataIndication when empty (#275)
* don't display unneeded empty row when noDataIndication isn't set
2018-04-01 13:32:24 +08:00
Nixon Kwok
4501ddb632 Fix textFilter() for Internet Explorer (includes() and find() are not supported) (#274)
* Fix textFilter() for Internet Explorer 11
- replace includes() with indexOf() !== -1
- replace find() with for loop

* Requested changes; more readability with for loop
- use .length of the columns instead of the Object.keys()
2018-04-01 13:30:59 +08:00
Allen
c91f521913
fix #258 (#268) 2018-03-25 16:44:27 +08:00
Allen
9ee9c7de43 Revert "fix#264: wrong col span when enable selection in a empty table (#265)"
This reverts commit 42dbd00fd9.
2018-03-25 16:37:27 +08:00
Patrick O'Meara
42dbd00fd9 fix#264: wrong col span when enable selection in a empty table (#265)
* noDataIndication

* use the correct amount of cells when the first row is select
* storybook added for development, not necessary in docs

fixes react-bootstrap-table/react-bootstrap-table2#264

* eslint complaints

  4:11  error  'columnLen' is never reassigned. Use 'const' instead                   prefer-const
  7:9   error  Expected an assignment or function call and instead saw an expression  no-unused-expressions

* tests updated
2018-03-25 16:36:58 +08:00
AllenFang
bd9150f88f Publish
- react-bootstrap-table2-editor@0.1.3
 - react-bootstrap-table2-example@0.1.4
 - react-bootstrap-table-next@0.1.5
2018-03-18 23:07:46 +08:00
Allen
3956fbca11
Merge pull request #263 from react-bootstrap-table/develop
2018/03/19 release
2018-03-18 23:03:55 +08:00
AllenFang
d5ddd8c3af add selection management example 2018-03-18 16:44:39 +08:00
Chun-MingChen
6f9361934a set state.selectedRowKeys based on store 2018-03-18 16:10:06 +08:00
Parth Prajapati
6bc81dddd0 Fixed #237 (#261)
* Fixed #237

* Solved lint errors

* Removed test cases for display: none checks
- added test cases for hidden columns check
2018-03-18 15:42:21 +08:00
Allen
94f1a5ee57
Merge pull request #247 from Chun-MingChen/feature/customized-class-n-id-on-table
customized classes and id on BootstrapTable (#235)
2018-03-18 14:25:55 +08:00
AllenFang
55336108a0 should recieve newest selectRow.selected 2018-03-18 14:07:44 +08:00
Chun-MingChen
923439dc81 correct typo 2018-03-17 17:29:30 +08:00
Chun-MingChen
d80ae13513 [test] test for RowSelectionWrapper#componentWillReceiveProps 2018-03-17 17:27:27 +08:00
Chun-MingChen
ceebdf5a13 refine store to set selectRow when receiving props 2018-03-17 17:27:27 +08:00
Chun-MingChen
3ed4d87b29 correct attribute key of columns.headerEvent in column-event-tables 2018-03-17 15:29:23 +08:00
Chun-MingChen
8a8c2d4964 [example] add demo for customized classes and id table 2018-03-10 18:54:59 +08:00
Chun-MingChen
3cea9658c7 [test] test for customized classes and id 2018-03-10 18:54:41 +08:00
Chun-MingChen
9f9203bffa implement customized classes and id on the table 2018-03-10 18:54:26 +08:00
AllenFang
4011cae18e Publish 2018-03-06 23:59:04 +08:00
Allen
a5cb806d98
implement default selection (#234) 2018-03-05 22:27:46 +08:00
Allen
9382ed587b
implement row event delegater (#233) 2018-03-04 17:22:52 +08:00
Allen
a11913c49a
fix #210 (#232) 2018-03-04 16:21:10 +08:00
AllenFang
4d9e20e9c8 fix #221 2018-03-04 16:05:10 +08:00
Parth Prajapati
931cf80450 Fixes #186 (#219)
* Fixes #186

* Solved lint error
2018-03-04 16:05:10 +08:00
AllenFang
096799c403 Publish
- react-bootstrap-table2-example@0.1.2
 - react-bootstrap-table2-filter@0.1.3
 - react-bootstrap-table-next@0.1.3
2018-02-14 16:33:51 +08:00
AllenFang
ba24990994 add story for sort event listener 2018-02-10 17:46:38 +08:00
AllenFang
e7ccd47817 implement sort events listener 2018-02-10 17:46:38 +08:00
AllenFang
a0af964d76 fix #195 2018-02-10 17:00:29 +08:00
Allen
865be93ef7
refine caseSensitive for filter (#201) 2018-02-10 16:54:01 +08:00