make hide action of datatable own
This commit is contained in:
@@ -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: "شماره دبیرخانه درخواست",
|
||||
|
||||
Reference in New Issue
Block a user