gregnb / gregnb/mui-datatables

Problem with search for TextField column

Open
#1,940 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/649986/182173670-40a70240-c967-45aa-95eb-c25023e73357.png)

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](https://user-images.githubusercontent.com/649986/182172840-6d3bca95-96ea-4c84-8cd6-8ef8930b1c36.png)

Code for last column:
` {
name: 'email',
label: 'Email',
options: {
sort: true,
filter: false,
customBodyRender: (value, tableMeta) => {
return (
{
const branch = tableMeta.rowData[0];
handleChangeEmail(event, branch, originalBranches);
}}
/>
);
},
},
},`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.