-
Sencha Premium Member
Add PresenterWidget to Menu
Hi,
I have to add my fileUploadPresenter which is PresenterWidget to Menu and I have the next code:
TextButton btn = new TextButton("MyBtn");
Menu menu = new Menu();
menu.add(fileUploadPresenter.getView().asWidget());
btn.setMenu(menu);
FlowPanel toolBar = new FlowPanel();
toolBar.add(btn);
The problem is that all the fields that I have in my fileUploadPresenter are not click-able so I can't do nothing with the presenter.
*When I add the presenter with setInSlot to some another presenter, everything is ok
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules