complete filter part of datatable
This commit is contained in:
@@ -187,10 +187,11 @@ function FilterBody({columns, drawerState, setDrawerState, userId, pageName, tab
|
|||||||
size="large"
|
size="large"
|
||||||
disabled={isSubmitting || !isValid || !dirty}
|
disabled={isSubmitting || !isValid || !dirty}
|
||||||
sx={{
|
sx={{
|
||||||
|
px: 8,
|
||||||
boxShadow: "rgba(0, 0, 0, 0.23) 0px 6px 6px, rgba(0, 0, 0, 0.19) 10px 0px 20px",
|
boxShadow: "rgba(0, 0, 0, 0.23) 0px 6px 6px, rgba(0, 0, 0, 0.19) 10px 0px 20px",
|
||||||
backgroundColor: "#155175", ':hover': {
|
backgroundColor: "#155175", ':hover': {
|
||||||
backgroundColor: "#155175",
|
backgroundColor: "#155175",
|
||||||
}, width: "50%"
|
}
|
||||||
}}>
|
}}>
|
||||||
اعمال فیلتر
|
اعمال فیلتر
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ function CustomSelect({column, filterParameters, defaultFilterTranslation, setFi
|
|||||||
setFieldValue(`${column.id}.value`, e.target.value)
|
setFieldValue(`${column.id}.value`, e.target.value)
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
<MenuItem value="">{column.header}</MenuItem>
|
||||||
{columnSelectOption.map((option) => (
|
{columnSelectOption.map((option) => (
|
||||||
<MenuItem
|
<MenuItem
|
||||||
key={option.value}
|
key={option.value}
|
||||||
|
|||||||
Reference in New Issue
Block a user