AllenFang / AllenFang/react-bootstrap-table

Select field (dropdown) in editble select mode

Offen
#1,348 14 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
2.2k
Forks
761
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi,
I have to display Y or N options in dropdown in react bootstrap table cell.
code:
```
const cellEdit={
"mode":"click",
blurToSave: true
}
function dropDownFormatter(cell,row){
return(

Y
N

)
}

Archive Enable

```

When Iam trying to edit my dropdown Iam getting following error.

TableBody.js:170 Uncaught TypeError: column.format(...).replace is not a function

Note: In tableBody.js we are getting this issue.

Thanks

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.