AllenFang / AllenFang/react-bootstrap-table

style error while setting width in case of rowSpan and colSpan

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

描述

Hi,
I am building a simple bootstrap table but getting the following error
"Uncaught TypeError: Cannot read property 'style' of undefined".

I am getting this error whenever i am setting the width of the last row.
Here is my error code:

![image](https://cloud.githubusercontent.com/assets/20796527/23137278/20a7a69e-f7c7-11e6-90a0-8582d818b92d.png)

`

Here is my Working Code

![image](https://cloud.githubusercontent.com/assets/20796527/23137314/5d20ff26-f7c7-11e6-84a7-27db3960f21a.png)

I need to assign width for the last row.
I am using Chrome with react: 15.4.1 and react-bootstrap-table: 2.11.2,
![errortable](https://cloud.githubusercontent.com/assets/20796527/23136808/7510704c-f7c4-11e6-82db-5f70f36e8ec0.PNG)
![tablegrp](https://cloud.githubusercontent.com/assets/20796527/23136812/7c5da824-f7c4-11e6-9e68-cdc0cb5c1e20.PNG)

Can you help me with this..??

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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