react-bootstrap-table2/docs
ChunMing, Chen 67c37e95f9 fix #18
* allow user to customize class for header cell

* add corresponding story

* allow user to customize inline-style for header cell

* add corresponding story

* [test] unit test for headerStyle

* [test] unit test for headerClasses

* update Document
2017-09-02 06:15:34 -05:00
..
columns.md fix #18 2017-09-02 06:15:34 -05:00
development.md fix #11 2017-08-27 10:55:38 -05:00
README.md fix #11 2017-08-27 10:55:38 -05:00

Documents

Props on BootstrapTable

keyField(required) - [String]

keyField is a prop to tell react-bootstrap-table2 which column is unigue key.

data(required) - [Array]

Assign your table data via data prop. It only accept an Array object.

columns(required) - [Object]

columns props accept an Array object, please see columns definition for more detail.

striped - [Bool]

Same as .table-striped class for adding zebra-stripes to a table

bordered - [Bool]

Same as .table-bordered class for adding borders on all sides of the table and cells

hover - [Bool]

Same as .table-hover class for adding a hover effect (grey background color) on table rows

condensed - [Bool]

Same as .table-condensed class for makeing a table more compact by cutting cell padding in half