- {row.getVisibleCells().map((cell) => {
- return (
- |
- {flexRender(cell.column.columnDef.cell, cell.getContext())}
- |
- );
- })}
-
+ rowBgColour={rowBgColour}
+ table={table}
+ columnSizing={columnSizing}
+ />
);
}
diff --git a/apps/client/src/views/cuesheet/cuesheet-table/cuesheet-table-elements/EventRow.tsx b/apps/client/src/views/cuesheet/cuesheet-table/cuesheet-table-elements/EventRow.tsx
index b6e572dc1..c876706b0 100644
--- a/apps/client/src/views/cuesheet/cuesheet-table/cuesheet-table-elements/EventRow.tsx
+++ b/apps/client/src/views/cuesheet/cuesheet-table/cuesheet-table-elements/EventRow.tsx
@@ -1,7 +1,9 @@
-import { memo, MutableRefObject, PropsWithChildren, useLayoutEffect, useRef, useState } from 'react';
+import { memo, MutableRefObject, useLayoutEffect, useRef, useState } from 'react';
import { IconButton } from '@chakra-ui/react';
import { IoEllipsisHorizontal } from '@react-icons/all-files/io5/IoEllipsisHorizontal';
+import { flexRender, Table } from '@tanstack/react-table';
import Color from 'color';
+import { OntimeRundownEntry } from 'ontime-types';
import { cx, getAccessibleColour } from '../../../../common/utils/styleUtils';
import { useCuesheetOptions } from '../../cuesheet.options';
@@ -10,6 +12,7 @@ import { useCuesheetTableMenu } from '../cuesheet-table-menu/useCuesheetTableMen
import style from '../CuesheetTable.module.scss';
interface EventRowProps {
+ rowId: string;
eventId: string;
eventIndex: number;
rowIndex: number;
@@ -17,10 +20,16 @@ interface EventRowProps {
selectedRef?: MutableRefObject