complete hide action part with button for hide or show all table header

This commit is contained in:
2024-07-27 11:32:27 +03:30
parent d3bc855f39
commit f974363790
9 changed files with 239 additions and 57 deletions

View File

@@ -10,25 +10,41 @@ const InquiryPrivacyFencingPage = () => {
() => [
{
accessorKey: "fullname",
header: "fullname",
header: "نام کامل",
id: "fullname",
columns: [
{
accessorKey: "first_name",
header: "first_name",
header: "اسم",
id: "first_name",
columns: [
{
accessorKey: "first_name_first",
header: "first_name_first",
id: "first_name_first",
accessorKey: "part1",
header: "فامیل",
id: "part1",
enableColumnFilter: false,
datatype: "text",
columns: [
{
accessorKey: "part1_1",
header: "part1_1",
id: "part1_1",
enableColumnFilter: false,
datatype: "text",
},
{
accessorKey: "part1_2",
header: "part1_2",
id: "part1_2",
enableColumnFilter: false,
datatype: "text",
},
],
},
{
accessorKey: "first_name_last",
header: "first_name_last",
id: "first_name_last",
accessorKey: "part2",
header: "part2",
id: "part2",
enableColumnFilter: false,
datatype: "text",
},
@@ -43,6 +59,25 @@ const InquiryPrivacyFencingPage = () => {
},
],
},
{
accessorKey: "something",
header: "something",
id: "something",
columns: [
{
accessorKey: "something1",
header: "something1",
id: "something1",
},
{
accessorKey: "something2",
header: "something2",
id: "something2",
enableColumnFilter: false,
datatype: "text",
},
],
},
{
accessorKey: "dabirkhaneh_number",
header: "شماره دبیرخانه درخواست",