AllenFang / AllenFang/react-bootstrap-table

expand row custom css problems

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

説明

```
isExpandableRow(row) {
if (row.id > 3) return true;
else return false;
}

expandComponent(row) {
return (


testing



);
}
const options = {
onRowClick: this.onRowClick,
onExpand: this.handleExpand,
expandBodyClass: 'custom-expand-parent',
expandBy: 'column',
paginationSize: 3,
hideSizePerPage: true,
border: 'none',
sizePerPage: 20,
expandRowBgColor: 'rgb(242, 255, 163)'
};
```

> expand Component the scope of the child

testing

is not filling the whole expand component col-span, in is the options , i managed to add class to the expand component ,and changed the css background , but i could n't manage to solve the height and width of the child , here is a pic to illustrate my point of view
![screenshot 2018-11-27 02 19 13](https://user-images.githubusercontent.com/41042520/49050349-a608c000-f1eb-11e8-9588-f63dac04db85.png)

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

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

評価

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

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

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