This commit is contained in:
AllenFang
2019-07-21 16:52:28 +08:00
parent d7e1f1dfd0
commit db22bb9adb
3 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -26,12 +26,13 @@ Specify the content of expand row, `react-bootstrap-table2` will pass a row obje
#### values
* **row**
* **rowIndex**
#### examples
```js
const expandRow = {
renderer: row => (
renderer: (row, rowIndex) => (
<div>
<p>{ `This Expand row is belong to rowKey ${row.id}` }</p>
<p>You can render anything here, also you can add additional data on every row object</p>