Feature/gasht rahdari

This commit is contained in:
2024-12-07 10:36:04 +00:00
committed by AmirHossein Mahmoodi
parent eb06d51c04
commit e8f8ca90b6
23 changed files with 761 additions and 4 deletions

View File

@@ -115,7 +115,9 @@ const DataTable_Main = (props) => {
onPaginationChange: setPagination,
onSortingChange: onSortingChange,
rowCount: totalRowCount,
renderTopToolbarCustomActions: ({ table }) => <>{TableToolbar && <TableToolbar mutate={mutate} />}</>,
renderTopToolbarCustomActions: ({ table }) => (
<>{TableToolbar && <TableToolbar table={table} mutate={mutate} filterData={filterData} />}</>
),
renderRowActions: ({ row }) => <RowActions row={row} mutate={mutate} />,
...props,
});