AllenFang / AllenFang/react-bootstrap-table

TableHeaderColumn editable false has two different UI's?

未关闭
#842 9 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement in progress
主要语言
JavaScript
星标
2.2k
派生
761
PR 合并指标
30 天内没有已合并 PR

描述

Hi.
Relating to the issue #834, the following two sources show me different UI.
I was expecting the UI like the first one below, but it becomes the second one.
Do you know why it is?

1) When just setting editable={false}, it is just like a label.
```

```
![false](https://cloud.githubusercontent.com/assets/1356917/20381134/72bb66ba-ace9-11e6-98ba-26eb6df10a1c.png)

2) When calling a function, it is a disabled textfield.
```
checkEditable(cell) {
return false;
}
render() {
return(

...

);
}
```
![return_false](https://cloud.githubusercontent.com/assets/1356917/20381141/77253c6c-ace9-11e6-8f2b-7897a5aaf11d.png)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。