fix: use columnPinning API (#18830)
Co-authored-by: sean-brydon <[email protected]>
This commit is contained in:
1 parent
e748d3e252
commit
b304467f15
8 files changed
+36
-52
No files matched your search
@@ -104,11 +104,6 @@ function UserListTableContent({ oAuthClientId }: PlatformManagedUsersTableProps)
|
||||
enableSorting: false,
|
||||
enableResizing: false,
|
||||
size: 30,
|
||||
meta: {
|
||||
sticky: {
|
||||
position: "left",
|
||||
},
|
||||
},
|
||||
header: ({ table }) => (
|
||||
<Checkbox
|
||||
checked={table.getIsAllPageRowsSelected()}
|
||||
@@ -134,9 +129,6 @@ function UserListTableContent({ oAuthClientId }: PlatformManagedUsersTableProps)
|
||||
header: () => {
|
||||
return `Managed Users`;
|
||||
},
|
||||
meta: {
|
||||
sticky: { position: "left", gap: 24 },
|
||||
},
|
||||
cell: ({ row }) => {
|
||||
if (isPending) {
|
||||
return <SkeletonText className="h-6 w-1/4" />;
|
||||
@@ -259,6 +251,9 @@ function UserListTableContent({ oAuthClientId }: PlatformManagedUsersTableProps)
|
||||
manualPagination: true,
|
||||
initialState: {
|
||||
columnVisibility: initalColumnVisibility,
|
||||
columnPinning: {
|
||||
left: ["select", "member"],
|
||||
},
|
||||
},
|
||||
defaultColumn: {
|
||||
size: 150,
|
||||
|
||||
Reference in new issue
Block a user