added msisdn on table

This commit is contained in:
bagusajisaputroo
2025-04-24 14:35:19 +07:00
parent 132861fcb5
commit a52bd9e951
2 changed files with 23 additions and 0 deletions

View File

@ -70,6 +70,20 @@ export const getColumns = (handleUpdate: (data: any) => void): ColumnDef<Members
);
}
},
{
accessorKey: 'msisdn',
header: ({ column }) => {
return (
<Button
variant="ghost"
onClick={() => column.toggleSorting(column.getIsSorted() === 'asc')}
>
Phone Number
<ArrowUpDown className="ml-2 h-4 w-4" />
</Button>
);
}
},
{
accessorKey: 'group_name',
header: ({ column }) => {