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