make hide action of datatable own

This commit is contained in:
2024-07-21 17:50:17 +03:30
parent bd6ea0aeae
commit d3bc855f39
15 changed files with 229 additions and 371 deletions

View File

@@ -8,6 +8,41 @@ import { GET_INQUIRY_PRIVACY_FENCING_ROUTE } from "@/core/utils/routes";
const InquiryPrivacyFencingPage = () => {
const columns = useMemo(
() => [
{
accessorKey: "fullname",
header: "fullname",
id: "fullname",
columns: [
{
accessorKey: "first_name",
header: "first_name",
id: "first_name",
columns: [
{
accessorKey: "first_name_first",
header: "first_name_first",
id: "first_name_first",
enableColumnFilter: false,
datatype: "text",
},
{
accessorKey: "first_name_last",
header: "first_name_last",
id: "first_name_last",
enableColumnFilter: false,
datatype: "text",
},
],
},
{
accessorKey: "last_name",
header: "last_name",
id: "last_name",
enableColumnFilter: false,
datatype: "text",
},
],
},
{
accessorKey: "dabirkhaneh_number",
header: "شماره دبیرخانه درخواست",