Skip to content
Discussion options

You must be logged in to vote

I'm able to work my way to make this work. I figured out that there is a editComponent prop for the columns to make your own custom edit component. Check for more details about it here in the original mbrn documentation. Hence I am able to simply use an input tag like this

const columns = [ { title: "Image", field: "img", render: rowData => <img className="hover:scale-[3] transition duration-500" src={rowData.img} style={{width: 50}}/>, editComponent: props => { return( <> <input type="file" accept="image/jpeg, image/png, image/jpg" onChange={e => {

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RitchieP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant