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 cf22798 commit 8e73f64Copy full SHA for 8e73f64
packages/table/src/Row/InternalRowWithRT.tsx
@@ -35,7 +35,6 @@ const InternalRowWithRT = <T extends LGRowData>({
35
36
const isExpandable = row.getCanExpand();
37
const depth = row.depth;
38
- const hasSubRows = row.subRows.length > 0;
39
40
const contextValues = useMemo(() => {
41
return {
@@ -53,7 +52,7 @@ const InternalRowWithRT = <T extends LGRowData>({
53
52
className={getRowWithRTStyles({
54
className,
55
isDisabled: disabled,
56
- isExpanded: (isExpanded && hasSubRows) || isParentExpanded,
+ isExpanded: isExpanded || isParentExpanded,
57
isOddVSRow,
58
isSelected,
59
isVirtualRow: !!virtualRow,
0 commit comments