Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

Where is the selected list stored #34

Open
The-BlackWidow opened this issue Apr 30, 2018 · 3 comments
Open

Where is the selected list stored #34

The-BlackWidow opened this issue Apr 30, 2018 · 3 comments
Labels

Comments

@The-BlackWidow
Copy link

Hi again,

(I'm sorry for having so many questions in a few amount of time 馃槅 !)

Still using Vue.js, I was wondering how to access the selected list. I would like to store it in my store in vuex, so that when I reload the tree (after I add a child for example), I get the same opened folders.

Thank you @elbywan

@elbywan
Copy link
Owner

elbywan commented Apr 30, 2018

Hey @The-BlackWidow !

I made a small jsfiddle that shows how to store the bosket selection array into the vuex store.

Hope it will help 馃槈.

@The-BlackWidow
Copy link
Author

Thank you very much for your answer. I realised I had already tried that, and it worked, however my main issue was saving all the unfolded folders. So I need to change the fold strategy.

@The-BlackWidow
Copy link
Author

Hi again @elbywan !

Could you please make the unfolded list available ? Through a method for example ?
I've been struggling with keeping the state of the tree intact, after a node's name modification.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants