extjs - Get panel expand tool reference in border layout when panel is collapsed -


how panel collapse (expand) tool reference in border layout when panel collapsed?

i can collapse tool (left) reference , not expand tool (right) when panel collapsed.

fiddle: https://fiddle.sencha.com/#view/editor&fiddle/1tlv

the expand tool on placeholder component within panel, rather tool of panel itself.

you can reach expand-right tool panel.getplaceholder().tools["expand-right"]

i've updated fiddle this.


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -