mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2025-10-16 11:55:39 +00:00
20170401 release
This commit is contained in:
parent
3d5ce74d46
commit
e7641bd7d3
@ -51,14 +51,14 @@ How user save their new editings? We offer two ways:
|
||||
* Column Level (Configure [column.editable](./column-props.html#columneditable-bool-function) as bool value)
|
||||
* Cell Level (Configure [column.editable](./column-props.html#columneditable-bool-function) as a callback function)
|
||||
|
||||
## Customize Style/Class
|
||||
Currently, we only support the editing cell style/class customization, in the future, we will offer more customizations.
|
||||
|
||||
### Editing Cell
|
||||
|
||||
* Customize the editing cell style via [column.editCellStyle](./column-props.html#columneditcellstyle-object-function)
|
||||
* Customize the editing cell classname via [column.editCellClasses](./column-props.html#columneditcellclasses-string-function)
|
||||
|
||||
### Editor
|
||||
* Customize the editor style via [column.editorStyle](./column-props.html#columneditorstyle-object-function)
|
||||
* Customize the editor classname via [column.editoClasses](./column-props.html#columneditorclasses-string-function)
|
||||
## Validation
|
||||
|
||||
[`column.validator`](./column-props.html#columnvalidator-function) will help you to work on it!
|
||||
|
||||
@ -35,6 +35,8 @@ Definition of columns props on BootstrapTable
|
||||
* [validator](#columnvalidator-function)
|
||||
* [editCellStyle](#columneditcellstyle-object-function)
|
||||
* [editCellClasses](#columneditcellclasses-string-function)
|
||||
* [editorStyle](#columneditorstyle-object-function)
|
||||
* [editorClasses](#columneditorclasses-string-function)
|
||||
* [filter](#columnfilter-object)
|
||||
* [filterValue](#columnfiltervalue-function)
|
||||
|
||||
@ -537,6 +539,12 @@ Or take a callback function
|
||||
}
|
||||
```
|
||||
|
||||
## column.editorStyle - [Object | Function]
|
||||
This is almost same as [`column.editCellStyle`](#columneditcellstyle-object-function), but `column.editorStyle` is for custom the style on editor instead of cell(`td`).
|
||||
|
||||
## column.editorClasses - [String | Function]
|
||||
This is almost same as [`column.editCellClasses`](#columneditcellclasses-string-function), but `column.editorClasses` is for custom the class on editor instead of cell(`td`).
|
||||
|
||||
## column.filter - [Object]
|
||||
Configure `column.filter` will able to setup a column level filter on the header column. Currently, `react-bootstrap-table2` support following filters:
|
||||
|
||||
|
||||
@ -25,6 +25,7 @@ title: BootstrapTable Props
|
||||
* [rowClasses](#rowclasses-string-function)
|
||||
* [rowEvents](#rowevents-object)
|
||||
* [defaultSorted](#defaultsorted-array)
|
||||
* [defaultSortDirection](#defaultSortDirection-string)
|
||||
* [pagination](#pagination-object)
|
||||
* [filter](#filter-object)
|
||||
* [onTableChange](#ontablechange-function)
|
||||
@ -175,6 +176,9 @@ const defaultSorted = [{
|
||||
}];
|
||||
```
|
||||
|
||||
## defaultSortDirection - [String]
|
||||
Default sort direction when user click on header column at first time, available value is `asc` and `desc`. Default is `desc`.
|
||||
|
||||
## pagination - [Object]
|
||||
`pagination` allow user to render a pagination panel on the bottom of table. But pagination functionality is separated from core of `react-bootstrap-table2` so that you are suppose to install `react-bootstrap-table2-paginator` additionally.
|
||||
|
||||
|
||||
25
website/blog/2018-04-01-verion-bump.md
Normal file
25
website/blog/2018-04-01-verion-bump.md
Normal file
@ -0,0 +1,25 @@
|
||||
---
|
||||
title: New Release (2018-04-01)
|
||||
author: Allen Fang
|
||||
authorURL: https://twitter.com/allenfang_tw
|
||||
---
|
||||
|
||||
## Changed Packages
|
||||
|
||||
This release bump following packages:
|
||||
|
||||
* `react-bootstrap-table-next@0.1.6`
|
||||
* `react-bootstrap-table-editor@0.1.4`
|
||||
|
||||
## Changelog
|
||||
|
||||
### Bug fixes
|
||||
* Fixed includes and find are not supported in IE([#274](https://github.com/react-bootstrap-table/react-bootstrap-table2/pull/274))
|
||||
* Fixed empty table is missing the last cell when row seleciton is enable([#276](https://github.com/react-bootstrap-table/react-bootstrap-table2/pull/276))
|
||||
|
||||
### Features
|
||||
* Allow to configure the default sort direction([#286](https://github.com/react-bootstrap-table/react-bootstrap-table2/issues/286))
|
||||
* Allow to custom the cell editor's style and class([#268](https://github.com/react-bootstrap-table/react-bootstrap-table2/issues/268))
|
||||
|
||||
### Enhancements
|
||||
* Don't render anything if `noDataIndication` is not given([#275](https://github.com/react-bootstrap-table/react-bootstrap-table2/pull/275))
|
||||
Loading…
Reference in New Issue
Block a user