AllenFang / AllenFang/react-bootstrap-table

Problems passing a dynamic link to the table :/

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

描述

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.**

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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