Shlomo
Shlomo

Reputation: 3990

ExtJs - reload store on expand

How do I reload a store?

How do I pass the new corresponding path to the proxy (nodeParam)?

EDIT:

My tree has name and path and children attributes. However, since children: [] are empty, there is no arrow shown to click on.

I want the arrows to be shown, and then request data waiting at path (/abc/def).

I read someone uses dummy data that gets deleted when the new request is made.

Upvotes: 0

Views: 640

Answers (2)

Alex Tokarev
Alex Tokarev

Reputation: 4861

Not sure if your answer to yourself means you've figured that out already. Anyway, it will work if you set "leaf" property to false and omit "children" property.

Upvotes: 0

Shlomo
Shlomo

Reputation: 3990

Empty children "childr‌​en":[] lead to showing no arrow.

Upvotes: 1

Related Questions