AllenFang / AllenFang/react-bootstrap-table

dataFormat adds <div> when dataFormat is used

Đang mở
#1,992 1 bình luận 1 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ả

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

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.