AllenFang / AllenFang/react-bootstrap-table

dataFormat adds <div> when dataFormat is used

未关闭
#1,992 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
2.2k
派生
761
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。