AllenFang / AllenFang/react-bootstrap-table

pass in the whole data object for afterInsertRow and afterDeleteRow

Offen
#491 9 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
help wanted
Vorherrschende Sprache
JavaScript
Sterne
2.2k
Forks
761
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.