custom notification and duplicate index of datatable to main and start making context for table filtering
This commit is contained in:
@@ -6,7 +6,7 @@ import DataTable_ToolbarInternalButtons from "./ToolbarInternalButtons";
|
||||
import FilterColumn from "@/core/components/DataTable/filter";
|
||||
import RefactorTable from "@/core/components/DataTable/refactor/RefactorTable";
|
||||
|
||||
const DataTable_TopToolbar = ({table, columns}) => {
|
||||
const DataTable_TopToolbar = ({table, columns, userid, pagename, tablename}) => {
|
||||
const {
|
||||
getState,
|
||||
options: {
|
||||
@@ -73,7 +73,7 @@ const DataTable_TopToolbar = ({table, columns}) => {
|
||||
}}
|
||||
>
|
||||
<RefactorTable/>
|
||||
<FilterColumn columns={columns}/>
|
||||
<FilterColumn columns={columns} userid={userid} pagename={pagename} tablename={tablename}/>
|
||||
<DataTable_ToolbarInternalButtons table={table}/>
|
||||
</Box>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user