AllenFang / AllenFang/react-bootstrap-table

Problems passing a dynamic link to the table :/

Open
#1,943 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
761
PR merge metrics
No merged PRs in 30d

Description

First of all great library :+1: I have a big problem inserting a Link into the table. I tried almost everything.
I got data coming from a server, so I'm mapping over it and rendering the results. But I need to be able to click on one of the take that clicked value and pass it onto the second component. I'm able to do do that without using react-bootstrap-tables, but I like them so much, so I was wondering if that's a possibility and if so, can you please help me. Here's an important piece of code.

sortedReports is an array.

`
```
let test = sortedReports.map(item => {
return (


)
});

return (




The complete list of reports


Details available by clicking on an icon







Year
Month
Full salary
Full gross
Bruto
Neto
Neto
Taxes
Details`
```

![capture](https://user-images.githubusercontent.com/29360045/38693616-c2e64dd6-3e87-11e8-94b4-650a65742704.JPG)

**Thank you in advance.**

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.