Skip to content

[TreeView] Implement property defaultExpandedChildren on v1 component #808

Open
@David74000

Description

@David74000

Category

[ ] Enhancement

[ ] Bug

[x] Question

Version

1.2

Expected / Desired Behavior / Question

Hello, I am using the TreeView component in SP2019 on-premise (version 1.2 of spfx-controls-react). I would like to implement the behaviour allowed by the property defaultExpandedChildren but this property is only available in version 2.1 of the spfx-controls-react (and I cannot use this version since I am on-premise).
I would like to know if it is feasable to apply the code used for the property defaultExpandedChildren into my old version ? I was thinking about grabing the code from the 2.1 version and modify the JS and TS files used in the node_modules folder but I first would like to know your opinion on this hack ?
Cheers
Thanks!

David

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:enhancementNew feature or enhancement of existing capabilityv1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions