0

east expand from button click

asked 2014-05-14 20:47:22 +0800

kenshin gravatar image kenshin
18 1

Hi,

How to expand east from onClick button component.

East_Activity.setExpand()....

Thanks.

delete flag offensive retag edit

Comments

just changes east size it will work

hswain ( 2014-05-15 09:51:44 +0800 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2014-05-15 07:13:28 +0800

khcyt gravatar image khcyt
216 1 1

Hi kenshin,

from ZK documentation:

void org.zkoss.zul.LayoutRegion.setOpen(boolean open) Opens or collapses the splitter. Meaningful only if isCollapsible is not false.

I hope this helps.

Kai

link publish delete flag offensive edit
0

answered 2014-05-15 07:40:24 +0800

khcyt gravatar image khcyt
216 1 1

Hi kenshin,

in addition, you must send an event to the component.

Events.postEvent(0, new OpenEvent(Events.ON_OPEN, East_Activity, new_open_state));

Kai

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-05-14 20:47:22 +0800

Seen: 16 times

Last updated: May 15 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More