We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e606eed commit 1cb0013Copy full SHA for 1cb0013
docs/examples/expandedRowSpan.tsx
@@ -16,8 +16,7 @@ const columns: ColumnsType = [
16
if (index === 2) props.rowSpan = 0;
17
if (index === 3) props.rowSpan = 0;
18
if (index === 4) props.rowSpan = 0;
19
- if (index === 5) props.rowSpan = 1;
20
-
+ if (index === 5) props.rowSpan = undefined;
21
return props;
22
},
23
src/Body/BodyRow.tsx
@@ -79,7 +79,7 @@ export function getCellProps<RecordType>(
79
80
// For expandable row with rowSpan,
81
// We should increase the rowSpan if the row is expanded
82
- if (expandable && rowSpan > 1) {
+ if (expandable) {
83
let currentRowSpan = rowSpan;
84
85
for (let i = index; i < index + rowSpan; i += 1) {
0 commit comments