AllenFang / AllenFang/react-bootstrap-table

expand row custom css problems

Đang mở
#2,042 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
2.2k
Fork
761
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

```
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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.