AllenFang / AllenFang/react-bootstrap-table

Select field (dropdown) in editble select mode

Open
#1,348 14 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
761
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.