AllenFang / AllenFang/react-bootstrap-table
dataFormat adds <div> when dataFormat is used
Ouverte
- Langage dominant
- JavaScript
- Étoiles
- 2.2k
- Forks
- 761
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.