AllenFang / AllenFang/react-bootstrap-table
dataFormat adds <div> when dataFormat is used
Đang mở
- 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ả
Ellipsis disappears when dataFormat is used and I noticed
is added to the text when using the dataFormat. Is there way to remove this? or any other way to add ellipsis?I'm just trying to show 'N/A' when description field is null, is there any other way to do this other then dataFormat? Thanks!
formatDescription(cell, row) {
return row.description === null ? 'N/A' : row.description;
}
Description
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.