diff --git a/app/src/demo/tables/editableTable/columns.tsx b/app/src/demo/tables/editableTable/columns.tsx
index 4dc8cf97b7..2b7b974531 100644
--- a/app/src/demo/tables/editableTable/columns.tsx
+++ b/app/src/demo/tables/editableTable/columns.tsx
@@ -30,6 +30,7 @@ export function getColumnsTableMode(columnsProps: ColumnsProps) {
{ ...props.rowLens.prop('name').toProps() }
renderEditor={ (props) => }
{ ...props }
+ key={ props.key }
/>
),
},
@@ -44,19 +45,21 @@ export function getColumnsTableMode(columnsProps: ColumnsProps) {
{ ...props.rowLens.prop('estimate').toProps() }
renderEditor={ (props) => (
{
return (
);
} }
/>
) }
{ ...props }
+ key={ props.key }
/>
),
},
@@ -68,17 +71,21 @@ export function getColumnsTableMode(columnsProps: ColumnsProps) {
renderCell: (props) => (
(
(
(
) }
{ ...props }
+ key={ props.key }
/>
) }
/>
@@ -99,9 +107,7 @@ export function getColumnsTableMode(columnsProps: ColumnsProps) {
const row = togglerProps.selection?.[0];
return (
(
);
} }
- { ...editorProps }
/>
) }
{ ...props }
+ key={ props.key }
/>
),
},
@@ -137,6 +143,7 @@ export function getColumnsTableMode(columnsProps: ColumnsProps) {
/>
) }
{ ...props }
+ key={ props.key }
/>
),
@@ -164,6 +171,7 @@ export function getColumnsTableMode(columnsProps: ColumnsProps) {
/>
) }
{ ...props }
+ key={ props.key }
/>
),
},
@@ -184,11 +192,13 @@ export function getColumnsTableMode(columnsProps: ColumnsProps) {
renderRow={ (props) => (
(
) }
/>
@@ -198,6 +208,7 @@ export function getColumnsTableMode(columnsProps: ColumnsProps) {
/>
) }
{ ...props }
+ key={ props.key }
/>
),
},
@@ -208,7 +219,7 @@ export function getColumnsTableMode(columnsProps: ColumnsProps) {
grow: 1,
allowResizing: false,
renderCell: (props) => (
- } { ...props } />
+ } { ...props } key={ props.key } />
),
},
{
@@ -237,6 +248,7 @@ export function getColumnsTimelineMode(columnsProps: ColumnsProps & { timelineCo
{ ...props.rowLens.prop('name').toProps() }
renderEditor={ (props) => }
{ ...props }
+ key={ props.key }
/>
),
},
@@ -249,22 +261,25 @@ export function getColumnsTimelineMode(columnsProps: ColumnsProps & { timelineCo
renderCell: (props) => (
(
{
return (
);
} }
/>
) }
{ ...props }
+ key={ props.key }
/>
),
},
@@ -277,6 +292,7 @@ export function getColumnsTimelineMode(columnsProps: ColumnsProps & { timelineCo
(
(
(
(
) }
- { ...props }
/>
) }
/>
@@ -308,9 +326,7 @@ export function getColumnsTimelineMode(columnsProps: ColumnsProps & { timelineCo
const row = togglerProps.selection?.[0];
return (
(
) }
{ ...props }
+ key={ props.key }
/>
),
},
@@ -337,16 +354,18 @@ export function getColumnsTimelineMode(columnsProps: ColumnsProps & { timelineCo
renderCell: (props) => (
(
) }
{ ...props }
+ key={ props.key }
/>
),
},
@@ -357,12 +376,13 @@ export function getColumnsTimelineMode(columnsProps: ColumnsProps & { timelineCo
renderCell: (props) => (
(
{
editorProps
@@ -373,6 +393,7 @@ export function getColumnsTimelineMode(columnsProps: ColumnsProps & { timelineCo
/>
) }
{ ...props }
+ key={ props.key }
/>
),
},
@@ -390,7 +411,7 @@ export function getColumnsTimelineMode(columnsProps: ColumnsProps & { timelineCo
},
renderCell(props) {
return (
-
+
);
},
},
diff --git a/uui/components/tables/DataTableRow.tsx b/uui/components/tables/DataTableRow.tsx
index 70c97a793c..ec3894adc9 100644
--- a/uui/components/tables/DataTableRow.tsx
+++ b/uui/components/tables/DataTableRow.tsx
@@ -1,7 +1,7 @@
import * as React from 'react';
import { DataTableRow as uuiDataTableRow } from '@epam/uui-components';
import {
- withMods, DataTableCellProps, DndActorRenderParams, DataTableRowProps as CoreDataTableRowProps,
+ withMods, DataTableCellProps, DataTableRowProps as CoreDataTableRowProps,
} from '@epam/uui-core';
import { DataTableCell } from './DataTableCell';
import { DataTableRowMods } from './types';
@@ -18,7 +18,7 @@ export const renderCell = (props: DataTableCellProps) => {
return ;
};
-export const renderDropMarkers = (props: DndActorRenderParams) => ;
+export const renderDropMarkers: DataTableRowProps['renderDropMarkers'] = ({ ref, ...props }) => ;
export const propsMods = { renderCell, renderDropMarkers };