mui-datatables icon indicating copy to clipboard operation
mui-datatables copied to clipboard

Problem with search for TextField column

Open netmajor opened this issue 3 years ago • 0 comments

I am using "mui-datatables": "^3.8.5"

I have table with last column as textfield. In deault state, first column and last should have same value: image

When I search for some text in the table, there is problems with proper filtering last column. First column and last should have same value, but when I use search last column not updates it state properly: image

Code for last column: { name: 'email', label: 'Email', options: { sort: true, filter: false, customBodyRender: (value, tableMeta) => { return ( <TextField id="outlined-email" label="Email" className={classes.textField} margin="normal" variant="outlined" value={value} defaultValue="" InputLabelProps={{ shrink: true, }} onChange={event => { const branch = tableMeta.rowData[0]; handleChangeEmail(event, branch, originalBranches); }} /> ); }, }, },

netmajor avatar Aug 01 '22 14:08 netmajor