From fc840f3a776cd7a1f48d43b7c263b0b0c5fc1159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=AF=E6=8C=AF=E5=87=AF?= Date: Mon, 25 Aug 2025 22:40:05 +0800 Subject: [PATCH 1/6] fix: table onCell-method cause offset in width calculation --- src/Body/BodyRow.tsx | 25 +++++++++++++++++++++++-- src/hooks/useRowInfo.tsx | 2 ++ src/hooks/useStickyOffsets.ts | 19 +++++++++++++++++-- 3 files changed, 42 insertions(+), 4 deletions(-) diff --git a/src/Body/BodyRow.tsx b/src/Body/BodyRow.tsx index 37b34327e..bcc22f35b 100644 --- a/src/Body/BodyRow.tsx +++ b/src/Body/BodyRow.tsx @@ -8,6 +8,8 @@ import type { ColumnType, CustomizeComponent } from '../interface'; import ExpandedRow from './ExpandedRow'; import { computedExpandedClassName } from '../utils/expandUtil'; import type { TableProps } from '..'; +import useStickyOffsets from '../hooks/useStickyOffsets'; +import { getCellFixedInfo } from '../utils/fixUtil'; export interface BodyRowProps { record: RecordType; @@ -43,12 +45,14 @@ export function getCellProps( index: number, rowKeys: React.Key[] = [], expandedRowOffset = 0, + rowStickyOffsets?: ReturnType, ) { const { record, prefixCls, columnsKey, fixedInfoList, + flattenColumns, expandIconColumnIndex, nestExpandable, indentSize, @@ -61,9 +65,11 @@ export function getCellProps( } = rowInfo; const key = columnsKey[colIndex]; - const fixedInfo = fixedInfoList[colIndex]; + let fixedInfo = fixedInfoList[colIndex]; - // ============= Used for nest expandable ============= + if (column.fixed && rowStickyOffsets) { + fixedInfo = getCellFixedInfo(colIndex, colIndex, flattenColumns, rowStickyOffsets); + } let appendCellNode: React.ReactNode; if (colIndex === (expandIconColumnIndex || 0) && nestExpandable) { appendCellNode = ( @@ -143,6 +149,7 @@ function BodyRow( const { prefixCls, flattenColumns, + colWidths, expandedRowClassName, expandedRowRender, rowProps, @@ -152,6 +159,19 @@ function BodyRow( rowSupportExpand, } = rowInfo; + const hasColSpanZero = React.useMemo(() => { + return flattenColumns.some(col => { + const cellProps = col.onCell?.(record, index) || {}; + return (cellProps.colSpan ?? 1) === 0; + }); + }, [flattenColumns, record, index]); + + const rowStickyOffsets = useStickyOffsets( + colWidths, + flattenColumns, + hasColSpanZero ? { record, rowIndex: index } : undefined, + ); + // Force render expand row if expanded before const expandedRef = React.useRef(false); expandedRef.current ||= expanded; @@ -196,6 +216,7 @@ function BodyRow( index, rowKeys, expandedRowInfo?.offset, + rowStickyOffsets, ); return ( diff --git a/src/hooks/useRowInfo.tsx b/src/hooks/useRowInfo.tsx index 4e3e11fa8..f0d3f8669 100644 --- a/src/hooks/useRowInfo.tsx +++ b/src/hooks/useRowInfo.tsx @@ -15,6 +15,7 @@ export default function useRowInfo( | 'prefixCls' | 'fixedInfoList' | 'flattenColumns' + | 'colWidths' | 'expandableType' | 'expandRowByClick' | 'onTriggerExpand' @@ -41,6 +42,7 @@ export default function useRowInfo( 'prefixCls', 'fixedInfoList', 'flattenColumns', + 'colWidths', 'expandableType', 'expandRowByClick', 'onTriggerExpand', diff --git a/src/hooks/useStickyOffsets.ts b/src/hooks/useStickyOffsets.ts index 705c2e118..322abea40 100644 --- a/src/hooks/useStickyOffsets.ts +++ b/src/hooks/useStickyOffsets.ts @@ -3,10 +3,14 @@ import type { ColumnType, StickyOffsets } from '../interface'; /** * Get sticky column offset width + * @param colWidths - Column widths array + * @param flattenColumns - Flattened columns + * @param rowContext - Optional row context for dynamic colSpan calculation */ function useStickyOffsets( colWidths: number[], flattenColumns: readonly ColumnType[], + rowContext?: { record: RecordType; rowIndex: number }, ) { const stickyOffsets: StickyOffsets = useMemo(() => { const columnCount = flattenColumns.length; @@ -16,9 +20,19 @@ function useStickyOffsets( let total = 0; for (let i = startIndex; i !== endIndex; i += offset) { + const column = flattenColumns[i]; + offsets.push(total); - if (flattenColumns[i].fixed) { + let colSpan = 1; + if (rowContext) { + const cellProps = column.onCell?.(rowContext.record, rowContext.rowIndex) || {}; + colSpan = cellProps.colSpan ?? 1; + } else { + colSpan = column.colSpan ?? 1; + } + + if (column.fixed && colSpan !== 0) { total += colWidths[i] || 0; } } @@ -33,8 +47,9 @@ function useStickyOffsets( start: startOffsets, end: endOffsets, widths: colWidths, + isSticky: flattenColumns.some(column => column.fixed), }; - }, [colWidths, flattenColumns]); + }, [colWidths, flattenColumns, ...(rowContext ? [rowContext.record, rowContext.rowIndex] : [])]); return stickyOffsets; } From a573a979ee612701348784f611bad9d00e36ef9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=AF=E6=8C=AF=E5=87=AF?= Date: Mon, 25 Aug 2025 23:42:02 +0800 Subject: [PATCH 2/6] fix: resolve bot review --- src/Body/BodyRow.tsx | 4 +++- src/hooks/useStickyOffsets.ts | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Body/BodyRow.tsx b/src/Body/BodyRow.tsx index bcc22f35b..018865fc6 100644 --- a/src/Body/BodyRow.tsx +++ b/src/Body/BodyRow.tsx @@ -46,6 +46,7 @@ export function getCellProps( rowKeys: React.Key[] = [], expandedRowOffset = 0, rowStickyOffsets?: ReturnType, + hasColSpanZero?: boolean, ) { const { record, @@ -67,7 +68,7 @@ export function getCellProps( const key = columnsKey[colIndex]; let fixedInfo = fixedInfoList[colIndex]; - if (column.fixed && rowStickyOffsets) { + if (column.fixed && hasColSpanZero) { fixedInfo = getCellFixedInfo(colIndex, colIndex, flattenColumns, rowStickyOffsets); } let appendCellNode: React.ReactNode; @@ -217,6 +218,7 @@ function BodyRow( rowKeys, expandedRowInfo?.offset, rowStickyOffsets, + hasColSpanZero, ); return ( diff --git a/src/hooks/useStickyOffsets.ts b/src/hooks/useStickyOffsets.ts index 322abea40..c80d79d74 100644 --- a/src/hooks/useStickyOffsets.ts +++ b/src/hooks/useStickyOffsets.ts @@ -28,8 +28,6 @@ function useStickyOffsets( if (rowContext) { const cellProps = column.onCell?.(rowContext.record, rowContext.rowIndex) || {}; colSpan = cellProps.colSpan ?? 1; - } else { - colSpan = column.colSpan ?? 1; } if (column.fixed && colSpan !== 0) { @@ -49,7 +47,7 @@ function useStickyOffsets( widths: colWidths, isSticky: flattenColumns.some(column => column.fixed), }; - }, [colWidths, flattenColumns, ...(rowContext ? [rowContext.record, rowContext.rowIndex] : [])]); + }, [colWidths, flattenColumns, rowContext]); return stickyOffsets; } From a11e45e74de1b99b6b256a3d5e2a3b7b8aee5902 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=AF=E6=8C=AF=E5=87=AF?= Date: Tue, 26 Aug 2025 09:16:14 +0800 Subject: [PATCH 3/6] feat: add cellPropsCache --- src/Body/BodyRow.tsx | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/Body/BodyRow.tsx b/src/Body/BodyRow.tsx index 018865fc6..8e0a7b3bc 100644 --- a/src/Body/BodyRow.tsx +++ b/src/Body/BodyRow.tsx @@ -47,6 +47,7 @@ export function getCellProps( expandedRowOffset = 0, rowStickyOffsets?: ReturnType, hasColSpanZero?: boolean, + cachedCellProps?: Record, ) { const { record, @@ -68,7 +69,7 @@ export function getCellProps( const key = columnsKey[colIndex]; let fixedInfo = fixedInfoList[colIndex]; - if (column.fixed && hasColSpanZero) { + if (column.fixed && hasColSpanZero && rowStickyOffsets) { fixedInfo = getCellFixedInfo(colIndex, colIndex, flattenColumns, rowStickyOffsets); } let appendCellNode: React.ReactNode; @@ -90,7 +91,7 @@ export function getCellProps( ); } - const additionalCellProps = column.onCell?.(record, index) || {}; + const additionalCellProps = cachedCellProps || column.onCell?.(record, index) || {}; // Expandable row has offset if (expandedRowOffset) { @@ -160,13 +161,14 @@ function BodyRow( rowSupportExpand, } = rowInfo; - const hasColSpanZero = React.useMemo(() => { - return flattenColumns.some(col => { - const cellProps = col.onCell?.(record, index) || {}; - return (cellProps.colSpan ?? 1) === 0; - }); + const cellPropsCache = React.useMemo(() => { + return flattenColumns.map(col => col.onCell?.(record, index) || {}); }, [flattenColumns, record, index]); + const hasColSpanZero = React.useMemo(() => { + return cellPropsCache.some(cellProps => (cellProps.colSpan ?? 1) === 0); + }, [cellPropsCache]); + const rowStickyOffsets = useStickyOffsets( colWidths, flattenColumns, @@ -219,6 +221,7 @@ function BodyRow( expandedRowInfo?.offset, rowStickyOffsets, hasColSpanZero, + cellPropsCache[colIndex], ); return ( From 53dacc7aae5ad9cb83542b1fa944eef33bfa9834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=AF=E6=8C=AF=E5=87=AF?= Date: Tue, 26 Aug 2025 10:08:11 +0800 Subject: [PATCH 4/6] feat: add test case --- src/Body/BodyRow.tsx | 2 +- tests/FixedColumn.spec.tsx | 135 +++++++++++++++++++++++++++++++++++++ 2 files changed, 136 insertions(+), 1 deletion(-) diff --git a/src/Body/BodyRow.tsx b/src/Body/BodyRow.tsx index 8e0a7b3bc..68ee383eb 100644 --- a/src/Body/BodyRow.tsx +++ b/src/Body/BodyRow.tsx @@ -91,7 +91,7 @@ export function getCellProps( ); } - const additionalCellProps = cachedCellProps || column.onCell?.(record, index) || {}; + const additionalCellProps = { ...(cachedCellProps || column.onCell?.(record, index) || {}) }; // Expandable row has offset if (expandedRowOffset) { diff --git a/tests/FixedColumn.spec.tsx b/tests/FixedColumn.spec.tsx index 3e7a5b493..c0d730d64 100644 --- a/tests/FixedColumn.spec.tsx +++ b/tests/FixedColumn.spec.tsx @@ -336,4 +336,139 @@ describe('Table.FixedColumn', () => { expect(container.querySelector('.rc-table')).toHaveClass('rc-table-fix-start-shadow-show'); expect(container.querySelector('.rc-table')).toHaveClass('rc-table-fix-end-shadow-show'); }); + + describe('colSpan=0 with fixed columns regression test', () => { + interface TestDataType { + key: string; + col0: string; + col1: string; + col2: string; + } + + const testColumns: ColumnsType = [ + { + title: 'Column 0', + dataIndex: 'col0', + key: 'col0', + width: 100, + fixed: 'left', + onCell: (record, index) => { + if (index === 1) { + return { colSpan: 0 }; + } + return {}; + }, + }, + { + title: 'Column 1', + dataIndex: 'col1', + key: 'col1', + width: 120, + fixed: 'left', + onCell: (record, index) => { + if (index === 1) { + return { colSpan: 2 }; + } + return {}; + }, + }, + { + title: 'Column 2', + dataIndex: 'col2', + key: 'col2', + width: 150, + }, + ]; + + const testData: TestDataType[] = [ + { key: '0', col0: 'Row0-Col0', col1: 'Row0-Col1', col2: 'Row0-Col2' }, + { key: '1', col0: 'Row1-Col0', col1: 'Row1-Merged', col2: 'Row1-Col2' }, + { key: '2', col0: 'Row2-Col0', col1: 'Row2-Col1', col2: 'Row2-Col2' }, + ]; + + it('should calculate correct sticky offsets when colSpan=0 exists', async () => { + const { container } = render( + , + ); + + await triggerResize(container.querySelector('.rc-table')); + + act(() => { + const coll = container.querySelector('.rc-table-resize-collection'); + if (coll) { + triggerResize(coll as HTMLElement); + } + }); + + await act(async () => { + vi.runAllTimers(); + await Promise.resolve(); + }); + + const rows = container.querySelectorAll('.rc-table-tbody .rc-table-row'); + expect(rows).toHaveLength(3); + + const secondRow = rows[1]; + const cells = secondRow.querySelectorAll('.rc-table-cell'); + expect(cells).toHaveLength(2); + + const mergedCell = cells[0]; + expect(mergedCell).toHaveAttribute('colSpan', '2'); + + expect(mergedCell.textContent).toContain('Row1-Merged'); + const hasFixedLeftClass = mergedCell.classList.contains('rc-table-cell-fix-left'); + + if (hasFixedLeftClass) { + const cellStyle = window.getComputedStyle(mergedCell); + expect(cellStyle.left).toBe('0px'); + } + }); + + it('should work correctly with expandable rows', async () => { + const expandableTestData = testData.map(item => ({ + ...item, + children: + item.key === '1' + ? [{ key: '1-0', col0: 'Child-Col0', col1: 'Child-Col1', col2: 'Child-Col2' }] + : undefined, + })); + + const { container } = render( +
, + ); + + await triggerResize(container.querySelector('.rc-table')); + + act(() => { + const coll = container.querySelector('.rc-table-resize-collection'); + if (coll) { + triggerResize(coll as HTMLElement); + } + }); + + await act(async () => { + vi.runAllTimers(); + await Promise.resolve(); + }); + + const allRows = container.querySelectorAll('.rc-table-tbody .rc-table-row'); + expect(allRows.length).toBeGreaterThan(3); // 包含展开的子行 + + const parentRow = allRows[1]; + const parentCells = parentRow.querySelectorAll('.rc-table-cell'); + expect(parentCells).toHaveLength(2); + + const childRow = allRows[2]; + const childCells = childRow.querySelectorAll('.rc-table-cell'); + expect(childCells).toHaveLength(3); + }); + }); }); From b4ad7c47a1c31ea61104f65990d37e5a6817fad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=AF=E6=8C=AF=E5=87=AF?= Date: Tue, 26 Aug 2025 10:40:23 +0800 Subject: [PATCH 5/6] feat: add snap --- tests/__snapshots__/FixedColumn.spec.tsx.snap | 180 +++++++++--------- 1 file changed, 90 insertions(+), 90 deletions(-) diff --git a/tests/__snapshots__/FixedColumn.spec.tsx.snap b/tests/__snapshots__/FixedColumn.spec.tsx.snap index 4e7b289b4..969b7ebdb 100644 --- a/tests/__snapshots__/FixedColumn.spec.tsx.snap +++ b/tests/__snapshots__/FixedColumn.spec.tsx.snap @@ -39,14 +39,14 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` > @@ -445,13 +445,13 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` data-row-key="4" > @@ -502,13 +502,13 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` data-row-key="5" > @@ -559,13 +559,13 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` data-row-key="6" > @@ -616,13 +616,13 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` data-row-key="7" > @@ -673,13 +673,13 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` data-row-key="8" > @@ -730,13 +730,13 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` data-row-key="9" > @@ -830,14 +830,14 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` > @@ -1236,13 +1236,13 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` data-row-key="4" > @@ -1293,13 +1293,13 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` data-row-key="5" > @@ -1350,13 +1350,13 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` data-row-key="6" > @@ -1407,13 +1407,13 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` data-row-key="7" > @@ -1464,13 +1464,13 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` data-row-key="8" > @@ -1521,13 +1521,13 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` data-row-key="9" > @@ -1619,14 +1619,14 @@ exports[`Table.FixedColumn > renders correctly > scrollX - without data 1`] = ` > @@ -2338,13 +2338,13 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` data-row-key="4" > @@ -2395,13 +2395,13 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` data-row-key="5" > @@ -2452,13 +2452,13 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` data-row-key="6" > @@ -2509,13 +2509,13 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` data-row-key="7" > @@ -2566,13 +2566,13 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` data-row-key="8" > @@ -2623,13 +2623,13 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` data-row-key="9" > From 08a1a6535fea0132798d43a30b22eedd7f688898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=AF=E6=8C=AF=E5=87=AF?= Date: Tue, 26 Aug 2025 11:11:16 +0800 Subject: [PATCH 6/6] feat: add snap --- src/hooks/useStickyOffsets.ts | 1 - tests/__snapshots__/FixedColumn.spec.tsx.snap | 180 +++++++++--------- 2 files changed, 90 insertions(+), 91 deletions(-) diff --git a/src/hooks/useStickyOffsets.ts b/src/hooks/useStickyOffsets.ts index c80d79d74..8cc045af3 100644 --- a/src/hooks/useStickyOffsets.ts +++ b/src/hooks/useStickyOffsets.ts @@ -45,7 +45,6 @@ function useStickyOffsets( start: startOffsets, end: endOffsets, widths: colWidths, - isSticky: flattenColumns.some(column => column.fixed), }; }, [colWidths, flattenColumns, rowContext]); diff --git a/tests/__snapshots__/FixedColumn.spec.tsx.snap b/tests/__snapshots__/FixedColumn.spec.tsx.snap index 969b7ebdb..4e7b289b4 100644 --- a/tests/__snapshots__/FixedColumn.spec.tsx.snap +++ b/tests/__snapshots__/FixedColumn.spec.tsx.snap @@ -39,14 +39,14 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` > @@ -445,13 +445,13 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` data-row-key="4" > @@ -502,13 +502,13 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` data-row-key="5" > @@ -559,13 +559,13 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` data-row-key="6" > @@ -616,13 +616,13 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` data-row-key="7" > @@ -673,13 +673,13 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` data-row-key="8" > @@ -730,13 +730,13 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` data-row-key="9" > @@ -830,14 +830,14 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` > @@ -1236,13 +1236,13 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` data-row-key="4" > @@ -1293,13 +1293,13 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` data-row-key="5" > @@ -1350,13 +1350,13 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` data-row-key="6" > @@ -1407,13 +1407,13 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` data-row-key="7" > @@ -1464,13 +1464,13 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` data-row-key="8" > @@ -1521,13 +1521,13 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` data-row-key="9" > @@ -1619,14 +1619,14 @@ exports[`Table.FixedColumn > renders correctly > scrollX - without data 1`] = ` > @@ -2338,13 +2338,13 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` data-row-key="4" > @@ -2395,13 +2395,13 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` data-row-key="5" > @@ -2452,13 +2452,13 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` data-row-key="6" > @@ -2509,13 +2509,13 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` data-row-key="7" > @@ -2566,13 +2566,13 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` data-row-key="8" > @@ -2623,13 +2623,13 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` data-row-key="9" >
title1 fixed column renders correctly RTL 1`] = ` title11 @@ -242,13 +242,13 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` data-row-key="1" > 123 @@ -304,7 +304,7 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` xxxxxxxx xxxxxxxx @@ -315,13 +315,13 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` data-row-key="2" > cdd @@ -377,7 +377,7 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` edd12221 edd12221 @@ -388,13 +388,13 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` data-row-key="3" > 133 @@ -436,7 +436,7 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` class="rc-table-cell" />
133 @@ -493,7 +493,7 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` class="rc-table-cell" />
133 @@ -550,7 +550,7 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` class="rc-table-cell" />
133 @@ -607,7 +607,7 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` class="rc-table-cell" />
133 @@ -664,7 +664,7 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` class="rc-table-cell" />
133 @@ -721,7 +721,7 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` class="rc-table-cell" />
133 @@ -778,7 +778,7 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` class="rc-table-cell" />
title1 renders correctly > scrollX - with data 1`] = ` title11 @@ -1033,13 +1033,13 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` data-row-key="1" > 123 @@ -1095,7 +1095,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` xxxxxxxx xxxxxxxx @@ -1106,13 +1106,13 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` data-row-key="2" > cdd @@ -1168,7 +1168,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` edd12221 edd12221 @@ -1179,13 +1179,13 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` data-row-key="3" > 133 @@ -1227,7 +1227,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` class="rc-table-cell" />
133 @@ -1284,7 +1284,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` class="rc-table-cell" />
133 @@ -1341,7 +1341,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` class="rc-table-cell" />
133 @@ -1398,7 +1398,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` class="rc-table-cell" />
133 @@ -1455,7 +1455,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` class="rc-table-cell" />
133 @@ -1512,7 +1512,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` class="rc-table-cell" />
133 @@ -1569,7 +1569,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` class="rc-table-cell" />
title1 renders correctly > scrollX - without data 1`] = ` title11 @@ -2135,13 +2135,13 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` data-row-key="1" > 123 @@ -2197,7 +2197,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` xxxxxxxx xxxxxxxx @@ -2208,13 +2208,13 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` data-row-key="2" > cdd @@ -2270,7 +2270,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` edd12221 edd12221 @@ -2281,13 +2281,13 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` data-row-key="3" > 133 @@ -2329,7 +2329,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` class="rc-table-cell" />
133 @@ -2386,7 +2386,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` class="rc-table-cell" />
133 @@ -2443,7 +2443,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` class="rc-table-cell" />
133 @@ -2500,7 +2500,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` class="rc-table-cell" />
133 @@ -2557,7 +2557,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` class="rc-table-cell" />
133 @@ -2614,7 +2614,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` class="rc-table-cell" />
133 @@ -2671,7 +2671,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` class="rc-table-cell" />
title1 fixed column renders correctly RTL 1`] = ` title11 @@ -242,13 +242,13 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` data-row-key="1" > 123 @@ -304,7 +304,7 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` xxxxxxxx xxxxxxxx @@ -315,13 +315,13 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` data-row-key="2" > cdd @@ -377,7 +377,7 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` edd12221 edd12221 @@ -388,13 +388,13 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` data-row-key="3" > 133 @@ -436,7 +436,7 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` class="rc-table-cell" />
133 @@ -493,7 +493,7 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` class="rc-table-cell" />
133 @@ -550,7 +550,7 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` class="rc-table-cell" />
133 @@ -607,7 +607,7 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` class="rc-table-cell" />
133 @@ -664,7 +664,7 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` class="rc-table-cell" />
133 @@ -721,7 +721,7 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` class="rc-table-cell" />
133 @@ -778,7 +778,7 @@ exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` class="rc-table-cell" />
title1 renders correctly > scrollX - with data 1`] = ` title11 @@ -1033,13 +1033,13 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` data-row-key="1" > 123 @@ -1095,7 +1095,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` xxxxxxxx xxxxxxxx @@ -1106,13 +1106,13 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` data-row-key="2" > cdd @@ -1168,7 +1168,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` edd12221 edd12221 @@ -1179,13 +1179,13 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` data-row-key="3" > 133 @@ -1227,7 +1227,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` class="rc-table-cell" />
133 @@ -1284,7 +1284,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` class="rc-table-cell" />
133 @@ -1341,7 +1341,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` class="rc-table-cell" />
133 @@ -1398,7 +1398,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` class="rc-table-cell" />
133 @@ -1455,7 +1455,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` class="rc-table-cell" />
133 @@ -1512,7 +1512,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` class="rc-table-cell" />
133 @@ -1569,7 +1569,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` class="rc-table-cell" />
title1 renders correctly > scrollX - without data 1`] = ` title11 @@ -2135,13 +2135,13 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` data-row-key="1" > 123 @@ -2197,7 +2197,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` xxxxxxxx xxxxxxxx @@ -2208,13 +2208,13 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` data-row-key="2" > cdd @@ -2270,7 +2270,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` edd12221 edd12221 @@ -2281,13 +2281,13 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` data-row-key="3" > 133 @@ -2329,7 +2329,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` class="rc-table-cell" />
133 @@ -2386,7 +2386,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` class="rc-table-cell" />
133 @@ -2443,7 +2443,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` class="rc-table-cell" />
133 @@ -2500,7 +2500,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` class="rc-table-cell" />
133 @@ -2557,7 +2557,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` class="rc-table-cell" />
133 @@ -2614,7 +2614,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` class="rc-table-cell" />
133 @@ -2671,7 +2671,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` class="rc-table-cell" />