AllenFang / AllenFang/react-bootstrap-table

pass in the whole data object for afterInsertRow and afterDeleteRow

Open
#491 9 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
JavaScript
Stars
2.2k
Forks
761
PR merge metrics
No merged PRs in 30d

Description

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. :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.