AllenFang / AllenFang/react-bootstrap-table

pass in the whole data object for afterInsertRow and afterDeleteRow

未關閉
#491 9 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
help wanted
主要語言
JavaScript
星號
2.2k
分支
761
PR 合併指標
30 天內沒有已合併 PR

描述

Hello,
In the docs, it reads
![image](https://cloud.githubusercontent.com/assets/11760870/15801714/87e4e228-2ad0-11e6-98c5-95f5e4a26b4e.png)

I wonder, if we can pass an extra argument of the complete data object, so that it is easy to use redux/setState to manage the data. I will be able to use something like `onUpdate={data => this.setState(data)}`.

I just went through the docs briefly. If I miss the function please let me know. :)

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。