React-bootstrap-table2: Get selected rows?

Created on 28 Mar 2018  路  4Comments  路  Source: react-bootstrap-table/react-bootstrap-table2

Hi @AllenFang
How can I get selected rows?

enhancement

Most helpful comment

try this: react-bootstrap-table.github.io/react-bootstrap-table2/docs/exposed-api.html#get-current-selected-rows

All 4 comments

In the react-bootstrap-table2 we still not support a exposed API to client to get the selection data. we will support this feature ASAP.

Currently, you can use selectRow.onSelect to listen any rows is select or deselect and manage the selection rows in you code

U can use a callback function on onSelect and pass in that values. I use a redux action to achieve that.

@AllenFang Do you have a timeline for implementing this feature?
Thank you!

try this: react-bootstrap-table.github.io/react-bootstrap-table2/docs/exposed-api.html#get-current-selected-rows

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cnav007 picture cnav007  路  4Comments

kamarajuPrathi picture kamarajuPrathi  路  4Comments

saifulss picture saifulss  路  4Comments

ethannkschneider picture ethannkschneider  路  3Comments

sudravi picture sudravi  路  3Comments