AllenFang / AllenFang/react-bootstrap-table

Deselecting a row on click doesn't work when cellEdit is true

オープン
#375 コメント 14 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
JavaScript
スター
2.2k
フォーク
761
PR マージ指標
30日以内にマージされた PR はありません

説明

I am having an issue with rows not deselecting when clicked on (selecting works fine) with cellEdit in place. There are 3 columns of which only the last one is editable, clicking on the row in column 1 or 2 doesn't deselect the row, right now deselecting only works when you click the checkbox. I am using the following settings for selectRow and cellEdit:

```
var selectRowProp = {
mode: "checkbox",
clickToSelect: true,
clickToSelectAndEditCell: true,
className: 'success',
selected: selected,
hideSelectColumn: false,
onSelect: this.handleRowSelect
};
var cellEdit = {
mode: "click",
blurToSave: true
};
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。