cleanup headers
This commit is contained in:
parent
45a7a90cb8
commit
5ecf838dd2
@ -14,42 +14,41 @@
|
|||||||
accessorKey: "id",
|
accessorKey: "id",
|
||||||
header: () => "id",
|
header: () => "id",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
header: "Name",
|
|
||||||
footer: (props) => props.column.id,
|
|
||||||
columns: [
|
|
||||||
{
|
|
||||||
accessorKey: "firstname",
|
|
||||||
cell: (info) => info.getValue(),
|
|
||||||
footer: (props) => props.column.id,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
accessorFn: (row) => row.lastname,
|
|
||||||
id: "lastname",
|
|
||||||
cell: (info) => info.getValue(),
|
|
||||||
header: () => "Nachname",
|
|
||||||
footer: (props) => props.column.id,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
accessorFn: (row) => `${row.firstname} ${row.lastname}`,
|
|
||||||
id: "fullname",
|
|
||||||
header: "Voller Name",
|
|
||||||
cell: (info) => info.getValue(),
|
|
||||||
// footer: (props) => props.column.id,
|
|
||||||
// filterFn: "fuzzy",
|
|
||||||
// sortingFn: fuzzySort,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
// {
|
// {
|
||||||
// accessorKey: "firstname",
|
// header: "Name",
|
||||||
// header: () => "firstname",
|
// footer: (props) => props.column.id,
|
||||||
|
// columns: [
|
||||||
|
// {
|
||||||
|
// accessorKey: "firstname",
|
||||||
|
// cell: (info) => info.getValue(),
|
||||||
|
// footer: (props) => props.column.id,
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// accessorFn: (row) => row.lastname,
|
||||||
|
// id: "lastname",
|
||||||
|
// cell: (info) => info.getValue(),
|
||||||
|
// header: () => "Nachname",
|
||||||
|
// footer: (props) => props.column.id,
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// accessorFn: (row) => `${row.firstname} ${row.lastname}`,
|
||||||
|
// id: "fullname",
|
||||||
|
// header: "Voller Name",
|
||||||
|
// cell: (info) => info.getValue(),
|
||||||
|
// // footer: (props) => props.column.id,
|
||||||
|
// // filterFn: "fuzzy",
|
||||||
|
// // sortingFn: fuzzySort,
|
||||||
|
// },
|
||||||
|
// ],
|
||||||
// },
|
// },
|
||||||
// {
|
{
|
||||||
// accessorKey: "lastname",
|
accessorKey: "firstname",
|
||||||
// header: () => "lastname",
|
header: () => "firstname",
|
||||||
// }
|
},
|
||||||
// ,
|
{
|
||||||
|
accessorKey: "lastname",
|
||||||
|
header: () => "lastname",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
accessorKey: "group.name",
|
accessorKey: "group.name",
|
||||||
header: () => "group",
|
header: () => "group",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user