Commit Graph

98 Commits

Author SHA1 Message Date
AllenFang
e14c596b8c refine remote examples 2017-12-24 16:16:40 +08:00
Allen
5cbeae704b
Fix #154
* headerFormatter should custom whole the header cell

* add story for headerFormatter with filter and sort

* patch docs for column.headerFormatter
2017-12-23 14:52:04 +08:00
Allen
80b1ac3370
fix #147
Implement TextFilter
2017-12-23 14:00:37 +08:00
AllenFang
64b3710ae0 docs for column filter 2017-12-23 13:54:03 +08:00
AllenFang
867465c123 fix typo 2017-12-23 13:53:36 +08:00
AllenFang
024dcf8c12 add some stories for text filter 2017-12-16 17:55:25 +08:00
AllenFang
51ef91b066 add story for column.filterValue 2017-12-16 17:55:25 +08:00
AllenFang
ad98cfe1a8 implement column.filterValue 2017-12-16 17:55:25 +08:00
AllenFang
c01db26428 add story for text filter 2017-12-16 17:55:25 +08:00
AllenFang
00185b80ca add react-bootstrap-table2-filter 2017-12-16 17:55:25 +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
AllenFang
7016e55472 implement filter 2017-12-16 15:16:03 +08:00
Allen
1879d77cdf
Merge pull request #150 from react-bootstrap-table/document-pagination
[Document] patch for pagination
2017-12-16 13:57:03 +08:00
Chun-MingChen
472f5d887c layout and wording beautify 2017-12-16 13:36:23 +08:00
AllenFang
861809d10c render filter in bootstrap table 2017-12-13 21:45:02 +08:00
Chun-MingChen
48004e1cb5 patch for pagination document
* required props for remote mode
2017-12-10 20:45:53 +08:00
Allen
da907d46f0
fix liftcycle issue (#149) 2017-12-10 19:32:43 +08:00
Allen
4d04b755ad
fix wrong HOC for SortWrapper (#148) 2017-12-10 15:05:58 +08:00
chunming
00f1105c8d Development/sorted classes and style (#136)
* fix missing defaultSorted props for default sort sample

* implement customized classes for sorted header

* [test] test for sorted header classes

* implement customized style for sorted header

* [test] test for sorted header style

* update document

* add missing props check and fix typo

* seperate sorting style and header into two props

* [test] add test case if column.headerStyle and column.headerClasses were defined

* implement customized header style and classes in column level

* [test] test for customized header style and classes in column level

* [DOC] document for customized classes and styles

* sample for customized classes and styles

* typo fix for document

* tuning the wording for test and documents
2017-12-10 13:53:03 +08:00
Allen
574a3146fc
funcaitonal store (#146) 2017-12-09 14:56:09 +08:00
Allen
ff31b2fca5
fix #144
implement loading overlay
2017-12-03 23:01:57 +08:00
AllenFang
32b187ff9f no --pure-lockfile --ignore-scripts 2017-12-03 18:32:26 +08:00
AllenFang
a363764ce9 patch docs for overlay 2017-12-03 17:59:21 +08:00
AllenFang
fab06bf599 patch docs for remote 2017-12-03 17:35:00 +08:00
AllenFang
70303617fb add stories for loading overlay 2017-12-03 17:13:05 +08:00
AllenFang
dc096a6c4e implement loading overlay 2017-12-03 17:11:36 +08:00
Allen
dfc0e15086
fix #140
Implement remote pagination
2017-12-02 18:20:32 +08:00
AllenFang
d43b3d61ed add story remote pagination 2017-12-02 16:01:33 +08:00
AllenFang
28f1bdb49f patch tests for remote pagination 2017-12-02 16:01:33 +08:00
AllenFang
f9abcf42f4 implement remote pagination 2017-12-02 15:45:57 +08:00
Allen
47f86dff4a
patch docs for pagination (#139) 2017-11-19 23:42:54 +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
chunming
79a81e87a5 Bugfix/row selection (#131)
* bugfix for missing radio button when single selection

* [test] correct and group the test for row selection

* re-order for better position
2017-11-05 17:37:30 +08:00
Allen
316b4e5302
fix #133
* implement row events

* add story for row event

* add tests for row events

* patch docs for rowEvents
2017-10-30 16:07:59 +08:00
Allen
6110663075
fix #128
* implement custom row classes

* add story for customizing row classes

* add test for rowClasses

* patch docs for rowClasses
2017-10-30 14:24:39 +08:00
Allen
19dc4d3984
fix #129
* implement custom row style

* add story for custom row style

* add tests for rowStyle

* patch docs for rowStyle
2017-10-29 18:17:20 +08:00
Allen
e1e8c00271
fix #64
* implement default sort

* add story for default sort

* add test for default sort

* patch docs for default sort

* a workaround to avoid render twice by story.add
2017-10-29 16:58:37 +08:00
Allen
ab305a7db2
fix #119
* implement selectRow.hideSelectColumn

* add story for selectRow.hideSelectColumn

* add tests for selectRow.hideSelectColumn

* patch docs for selectRow.hideSelectColumn
2017-10-29 14:58:33 +08:00
chunming
ca02af3d6a logs messages on the story panel (#123)
* ref: https://github.com/storybooks/storybook-addon-console
2017-10-29 14:01:03 +08:00
Allen
974f129aad fix #116
* implement selection hook

* add story for selection hooks

* add tests for selection hooks

* add missing test for store.setSelectedRowKeys(array)

* patch docs for selection hooks
2017-10-26 03:49:35 -05:00
Joshua
cf142d3b39 Improve CONTRIBUTING doc
* Improve CONTRIBUTING doc

* Correct some typos and grammar errors

* Improve docs/README.md
2017-10-26 01:36:13 -05:00
Allen
985a1713ae fix #111
* implement selectRow.clickToSelect and selectRow.clickToEdit

* add selectRow.clickToSelect and selectRow.clickToEdit stories

* add clickToSelect to row selection examples for easier to select row

* refine selectRow.nonSelectable

* patch tests for selectRow.clickToSelect and selectRow.clickToEdit

* patch docs for selectRow.clickToSelect and selectRow.clickToEdit
2017-10-26 01:35:09 -05:00
Allen
bbeb122af1 fix wrong higher order wrapping (#112)
* fix wrong higher order wrapping

* fix tests for wrong wrapper design
2017-10-24 00:56:59 -05:00
Allen
b16da90ae9 fix #108
* implement selectRow.bgColor

* add story for selectRow.bgColor

* add testing for selectRow.bgColor

* patch docs for selectRow.bgColor
2017-10-23 03:08:30 -05:00
Allen
afc41879ee fix #106
* implement selectRow.nonSelectable

* add story for selectRow.nonSelectable

* add testing for selectRow.nonSelectable

* refine tests about row selection

* patch docs for selectRow.nonSelectable
2017-10-20 03:25:48 -05:00
Allen
10f06dca10 fix #104
* implement row seleciton style and class

* add testing for row selection style and class

* refine select row test

* add stories for row selection style and class

* add docs for row selection style and class

* patch for wrong docs
2017-10-20 00:44:25 -05:00
Allen
cb6410bbe4 fix #101
* implement cell editor style/class

* add stories for custom cell editor style and class

* patch testing for cell editor style and class

* patch docs for cell editor style and class
2017-10-18 09:15:41 -05:00
Allen
afef2adcaf add missing HeaderCell.propTypes 2017-10-18 02:09:24 -05:00
Allen
0440c63c66 always jsx-curly-spacing 2017-10-18 01:31:12 -05:00