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