Created
July 1, 2019 18:14
-
-
Save matgargano/1fa24ddb48fde071b1ca793b897742d5 to your computer and use it in GitHub Desktop.
treeselect example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
title: 'Node1', | |
value: '0-0', | |
key: '0-0', | |
children: [ | |
{ | |
title: 'Child Node1', | |
value: '0-0-0', | |
key: '0-0-0', | |
}, | |
], | |
}, | |
{ | |
title: 'Node2', | |
value: '0-1', | |
key: '0-1', | |
children: [ | |
{ | |
title: 'Child Node3', | |
value: '0-1-0', | |
key: '0-1-0', | |
}, | |
{ | |
title: 'Child Node4', | |
value: '0-1-1', | |
key: '0-1-1', | |
}, | |
{ | |
title: 'Child Node5', | |
value: '0-1-2', | |
key: '0-1-2', | |
}, | |
], | |
}, | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment