-
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            RitchieP
          
      
      
        Aug 2, 2023 
      
    
    Replies: 1 comment
-
| 
         I'm able to work my way to make this work. I figured out that there is a  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 => {
                        props.onChange(e.target.files[0]);
                    }}
                />
                </>
            )
        }
    }
] | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        RitchieP
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
I'm able to work my way to make this work. I figured out that there is a
editComponentprop for the columns to make your own custom edit component. Check for more details about it here in the originalmbrndocumentation. Hence I am able to simply use an input tag like this