AllenFang / AllenFang/react-bootstrap-table

dataFormat adds <div> when dataFormat is used

Aperta
#1,992 1 commento 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
2.2k
Fork
761
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.