fix(collection-manager): should expand all rows by default when adding a new field
This commit is contained in:
parent
683db5b3ba
commit
460d69fba8
@ -426,6 +426,7 @@ export const CollectionFields = (props) => {
|
|||||||
className={tableContainer}
|
className={tableContainer}
|
||||||
expandable={{
|
expandable={{
|
||||||
defaultExpandAllRows: true,
|
defaultExpandAllRows: true,
|
||||||
|
defaultExpandedRowKeys: dataSource.map((d) => d.key),
|
||||||
expandedRowClassName: () => rowStyle,
|
expandedRowClassName: () => rowStyle,
|
||||||
expandedRowRender: (record) =>
|
expandedRowRender: (record) =>
|
||||||
record.inherit ? (
|
record.inherit ? (
|
||||||
|
Loading…
Reference in New Issue
Block a user