colorado canyon
colorado canyon

Reputation: 31

How can I refresh a grid on tabpanel in ExtJS4

I have a tabpanel, each tab has a grid. When I click on tab it appears empty. I want grid to be refreshed whenever I click on the tab. How can I achieve this in ExtJS4?

Thank you....

Upvotes: 0

Views: 290

Answers (1)

jansepke
jansepke

Reputation: 1979

listen for the active event on the grid.

and reload the store of the grid if the store is empty

Upvotes: 1

Related Questions