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 摘要。